1. 04 7月, 2000 2 次提交
    • T
      Make toast-table creation and deletion work somewhat reliably. · cdeca5f5
      Tom Lane 提交于
      Don't go through pg_exec_query_dest(), but directly to the execution
      routines.  Also, extend parameter lists so that there's no need to
      change the global setting of allowSystemTableMods, a hack that was
      certain to cause trouble in the event of any error.
      cdeca5f5
    • J
      TOAST · 57d8080a
      Jan Wieck 提交于
          WARNING: This is actually broken - we have self-deadlocks
      	         due to concurrent changes in buffer management.
      			 Vadim and me are working on it.
      
      Jan
      57d8080a
  2. 28 6月, 2000 1 次提交
    • T
      First phase of memory management rewrite (see backend/utils/mmgr/README · 1aebc361
      Tom Lane 提交于
      for details).  It doesn't really do that much yet, since there are no
      short-term memory contexts in the executor, but the infrastructure is
      in place and long-term contexts are handled reasonably.  A few long-
      standing bugs have been fixed, such as 'VACUUM; anything' in a single
      query string crashing.  Also, out-of-memory is now considered a
      recoverable ERROR, not FATAL.
      Eliminate a large amount of crufty, now-dead code in and around
      memory management.
      Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and
      backend startup.
      1aebc361
  3. 15 6月, 2000 1 次提交
  4. 12 6月, 2000 1 次提交
  5. 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
  6. 05 6月, 2000 1 次提交
  7. 30 5月, 2000 2 次提交
  8. 29 5月, 2000 3 次提交
  9. 13 4月, 2000 1 次提交
  10. 09 3月, 2000 1 次提交
  11. 16 2月, 2000 1 次提交
  12. 05 2月, 2000 1 次提交
  13. 30 1月, 2000 1 次提交
    • P
      A few minor psql enhancements · 2b84cbb6
      Peter Eisentraut 提交于
      Initdb help correction
      Changed end/abort to commit/rollback and changed related notices
      Commented out way old printing functions in libpq
      Fixed a typo in alter table / alter column
      2b84cbb6
  14. 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
  15. 25 1月, 2000 1 次提交
  16. 22 1月, 2000 1 次提交
  17. 17 1月, 2000 1 次提交
  18. 20 12月, 1999 1 次提交
  19. 17 12月, 1999 1 次提交
  20. 14 12月, 1999 1 次提交
  21. 10 12月, 1999 1 次提交
  22. 24 11月, 1999 1 次提交
  23. 23 11月, 1999 1 次提交
  24. 08 11月, 1999 1 次提交
  25. 04 10月, 1999 1 次提交
    • T
      Reimplement parsing and storage of default expressions and constraint · eabc714a
      Tom Lane 提交于
      expressions in CREATE TABLE.  There is no longer an emasculated expression
      syntax for these things; it's full a_expr for constraints, and b_expr
      for defaults (unfortunately the fact that NOT NULL is a part of the
      column constraint syntax causes a shift/reduce conflict if you try a_expr.
      Oh well --- at least parenthesized boolean expressions work now).  Also,
      stored expression for a column default is not pre-coerced to the column
      type; we rely on transformInsertStatement to do that when the default is
      actually used.  This means "f1 datetime default 'now'" behaves the way
      people usually expect it to.
      BTW, all the support code is now there to implement ALTER TABLE ADD
      CONSTRAINT and ALTER TABLE ADD COLUMN with a default value.  I didn't
      actually teach ALTER TABLE to call it, but it wouldn't be much work.
      eabc714a
  26. 19 9月, 1999 1 次提交
    • T
      Mega-commit to make heap_open/heap_openr/heap_close take an · bd272cac
      Tom Lane 提交于
      additional argument specifying the kind of lock to acquire/release (or
      'NoLock' to do no lock processing).  Ensure that all relations are locked
      with some appropriate lock level before being examined --- this ensures
      that relevant shared-inval messages have been processed and should prevent
      problems caused by concurrent VACUUM.  Fix several bugs having to do with
      mismatched increment/decrement of relation ref count and mismatched
      heap_open/close (which amounts to the same thing).  A bogus ref count on
      a relation doesn't matter much *unless* a SI Inval message happens to
      arrive at the wrong time, which is probably why we got away with this
      sloppiness for so long.  Repair missing grab of AccessExclusiveLock in
      DROP TABLE, ALTER/RENAME TABLE, etc, as noted by Hiroshi.
      Recommend 'make clean all' after pulling this update; I modified the
      Relation struct layout slightly.
      Will post further discussion to pghackers list shortly.
      bd272cac
  27. 05 9月, 1999 1 次提交
  28. 18 7月, 1999 1 次提交
  29. 16 7月, 1999 3 次提交
  30. 15 7月, 1999 1 次提交
  31. 19 6月, 1999 1 次提交
  32. 26 5月, 1999 2 次提交
  33. 10 5月, 1999 1 次提交