1. 08 Jan, 2002 10 commits
  2. 07 Jan, 2002 5 commits
    • Bruce Momjian's avatar
      Update my2pg to version 1.22. · f88aa2d6
      Bruce Momjian authored
      f88aa2d6
    • Tom Lane's avatar
      Add variants of digest() and hmac() that accept text inputs. · 6d6b3e91
      Tom Lane authored
       Marko Kreen says:
      This is so obvious that I would like to make it 'official'.
      
      Seems like the theology around bytea<>text casting kept me from
      seeing the simple :)
      6d6b3e91
    • Tom Lane's avatar
      Tweak LWLock algorithms so that an awakened waiter for a lock is not · 5b9a0583
      Tom Lane authored
      granted the lock when awakened; the signal now only means that the lock
      is potentially available.  The waiting process must retry its attempt
      to get the lock when it gets to run.  This allows the lock releasing
      process to re-acquire the lock later in its timeslice.  Since LWLocks
      are usually held for short periods, it is possible for a process to
      acquire and release the same lock many times in a timeslice.  The old
      spinlock-based implementation of these locks allowed for that; but the
      original coding of LWLock would force a process swap for each acquisition
      if there was any contention.  Although this approach reopens the door to
      process starvation (a waiter might repeatedly fail to get the lock),
      the odds of that being a big problem seem low, and the performance cost
      of the previous approach is considerable.
      5b9a0583
    • Michael Meskes's avatar
    • Peter Eisentraut's avatar
      Editorial review · 731204e0
      Peter Eisentraut authored
      731204e0
  3. 06 Jan, 2002 5 commits
  4. 05 Jan, 2002 2 commits
  5. 04 Jan, 2002 12 commits
  6. 03 Jan, 2002 6 commits
    • Tom Lane's avatar
      Require ownership permission for CREATE INDEX, per bug report. · dc6b4deb
      Tom Lane authored
      Disallow CREATE INDEX on system catalogs, non-tables (views, sequences, etc).
      Disallow CREATE/DROP TRIGGER on system catalogs, non-tables.
      Disallow ALTER TABLE ADD/DROP CONSTRAINT on system catalogs.
      Disallow FOREIGN KEY reference to non-table.
      None of these things can actually work in the present system structure,
      but the code was letting them pass without complaint.
      dc6b4deb
    • Tom Lane's avatar
      Instead of waiting a fixed amount of time for the test postmaster to · d02f0aaa
      Tom Lane authored
      start up, wait until a psql connection attempt succeeds.  Per gripe
      from Jason Tishler.
      d02f0aaa
    • Bruce Momjian's avatar
      Prefer savepoints term: · 0e3793e6
      Bruce Momjian authored
      < 	  allow error codes to be specified; requires nested transactions
      ---
      > 	  allow error codes to be specified; requires savepoints
      321c321
      < * Allow nested transactions / savepoints [transactions]
      ---
      > * Allow savepoints / nested transactions [transactions]
      0e3793e6
    • Bruce Momjian's avatar
      Update: · a2dc469a
      Bruce Momjian authored
      < 	  allow error codes to be specified
      ---
      > 	  allow error codes to be specified; requires nested transactions
      a2dc469a
    • Tom Lane's avatar
      SPI_cursor_open must copy by-reference parameter values into the · ab20692e
      Tom Lane authored
      portal's memory context, so that they will live as long as the portal does.
      ab20692e
    • Bruce Momjian's avatar
      Add: · 6d78fdae
      Bruce Momjian authored
      > 	o Allow COPY to report error lines and continue;  optionally
      > 	  allow error codes to be specified
      6d78fdae