1. 12 6月, 2000 1 次提交
  2. 09 6月, 2000 1 次提交
    • B
      I have large database and with this DB work more users and I very need · 85add42a
      Bruce Momjian 提交于
      more restriction for fretful users. The current PG allow define only
      NO-CREATE-DB and NO-CREATE-USER restriction, but for some users I need
      NO-CREATE-TABLE and NO-LOCK-TABLE.
      
      This patch add to current code NOCREATETABLE and NOLOCKTABLE feature:
      
      CREATE USER username
          [ WITH
           [ SYSID uid ]
           [ PASSWORD 'password' ] ]
          [ CREATEDB   | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]
      ->  [ CREATETABLE | NOCREATETABLE ] [ LOCKTABLE | NOLOCKTABLE ]
          ...etc.
      
       If CREATETABLE or LOCKTABLE is not specific in CREATE USER command,
      as default is set CREATETABLE or LOCKTABLE (true).
      
       A user with NOCREATETABLE restriction can't call CREATE TABLE or
      SELECT INTO commands, only create temp table is allow for him.
      
                                                      Karel
      85add42a
  3. 05 6月, 2000 1 次提交
  4. 04 6月, 2000 1 次提交
  5. 26 1月, 2000 1 次提交
    • B
      Add: · 5c25d602
      Bruce Momjian 提交于
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  6. 20 12月, 1999 1 次提交
  7. 24 9月, 1999 1 次提交
    • T
      Several changes here, not very related but touching some of the same files. · e812458b
      Tom Lane 提交于
      * Buffer refcount cleanup (per my "progress report" to pghackers, 9/22).
      * Add links to backend PROC structs to sinval's array of per-backend info,
      and use these links for routines that need to check the state of all
      backends (rather than the slow, complicated search of the ShmemIndex
      hashtable that was used before).  Add databaseOID to PROC structs.
      * Use this to implement an interlock that prevents DESTROY DATABASE of
      a database containing running backends.  (It's a little tricky to prevent
      a concurrently-starting backend from getting in there, since the new
      backend is not able to lock anything at the time it tries to look up
      its database in pg_database.  My solution is to recheck that the DB is
      OK at the end of InitPostgres.  It may not be a 100% solution, but it's
      a lot better than no interlock at all...)
      * In ALTER TABLE RENAME, flush buffers for the relation before doing the
      rename of the physical files, to ensure we don't get failures later from
      mdblindwrt().
      * Update TRUNCATE patch so that it actually compiles against current
      sources :-(.
      You should do "make clean all" after pulling these changes.
      e812458b
  8. 18 7月, 1999 1 次提交
  9. 16 7月, 1999 2 次提交
  10. 15 7月, 1999 1 次提交
  11. 26 5月, 1999 1 次提交
  12. 23 3月, 1999 1 次提交
  13. 14 2月, 1999 1 次提交
  14. 08 2月, 1999 1 次提交
  15. 03 9月, 1998 1 次提交
  16. 01 9月, 1998 1 次提交
  17. 26 8月, 1998 1 次提交
    • M
      · 88b17d9c
      Marc G. Fournier 提交于
      From: Massimo Dal Zotto <dz@cs.unitn.it>
      
      > ps-status.patch
      >
      >       macros for ps status, used by postgres.c and utility.c.
      >       Unfortunately ps status is system dependent and the current
      >       code doesn't work on linux. The use of macros confines system
      >       dependency to into one file (ps-status.h). Users of other
      >       operating systems should check this code and submit new macros.
      88b17d9c
  18. 05 6月, 1998 1 次提交
  19. 26 2月, 1998 1 次提交
  20. 13 2月, 1998 1 次提交
  21. 08 1月, 1998 1 次提交
  22. 05 1月, 1998 1 次提交
  23. 19 9月, 1997 1 次提交
  24. 09 9月, 1997 1 次提交
  25. 08 9月, 1997 1 次提交
  26. 07 9月, 1997 1 次提交
  27. 27 8月, 1997 1 次提交
  28. 20 8月, 1997 1 次提交
  29. 10 11月, 1996 1 次提交
  30. 08 11月, 1996 1 次提交
  31. 03 11月, 1996 1 次提交
  32. 30 7月, 1996 1 次提交
  33. 09 7月, 1996 1 次提交