1. 25 Jan, 2006 2 commits
  2. 24 Jan, 2006 2 commits
  3. 23 Jan, 2006 6 commits
  4. 22 Jan, 2006 4 commits
  5. 21 Jan, 2006 4 commits
    • Tom Lane's avatar
      Marginal improvements in the wording of the autovacuum documentation: · b42f3073
      Tom Lane authored
      be consistent about whether it's called a daemon or a subprocess, and
      don't describe the autovacuum setting in exactly the same way as the
      stats_start_collector setting, because that leaves people thinking (if
      they aren't paying close attention) that autovacuum can't be changed
      on the fly.
      b42f3073
    • Tom Lane's avatar
      Fix broken markup. · 27959dd7
      Tom Lane authored
      27959dd7
    • Tom Lane's avatar
      Repair longstanding bug in slru/clog logic: it is possible for two backends · c89a0dd3
      Tom Lane authored
      to try to create a log segment file concurrently, but the code erroneously
      specified O_EXCL to open(), resulting in a needless failure.  Before 7.4,
      it was even a PANIC condition :-(.  Correct code is actually simpler than
      what we had, because we can just say O_CREAT to start with and not need a
      second open() call.  I believe this accounts for several recent reports of
      hard-to-reproduce "could not create file ...: File exists" errors in both
      pg_clog and pg_subtrans.
      c89a0dd3
    • Bruce Momjian's avatar
      Add GRANT ON SEQUENCE syntax to support sequence-only permissions. · 4789e988
      Bruce Momjian authored
      Continue to support GRANT ON [TABLE] for sequences for backward
      compatibility;  issue warning for invalid sequence permissions.
      
      [Backward compatibility warning message.]
      
      Add USAGE permission for sequences that allows only currval() and
      nextval(), not setval().
      
      Mention object name in grant/revoke warnings because of possible
      multi-object operations.
      4789e988
  6. 20 Jan, 2006 3 commits
  7. 19 Jan, 2006 9 commits
  8. 18 Jan, 2006 5 commits
    • Bruce Momjian's avatar
      7259cc1e
    • Bruce Momjian's avatar
      You'll find attached a patch for a fixed explanation on parameter_mode · ccebb674
      Bruce Momjian authored
      column, OUT and INOUT added.
      
      Guillaume LELARGE
      ccebb674
    • Tom Lane's avatar
      Modify pgstats code to reduce performance penalties from oversized stats data · d5db3abf
      Tom Lane authored
      files: avoid creating stats hashtable entries for tables that aren't being
      touched except by vacuum/analyze, ensure that entries for dropped tables are
      removed promptly, and tweak the data layout to avoid storing useless struct
      padding.  Also improve the performance of pgstat_vacuum_tabstat(), and make
      sure that autovacuum invokes it exactly once per autovac cycle rather than
      multiple times or not at all.  This should cure recent complaints about 8.1
      showing much higher stats I/O volume than was seen in 8.0.  It'd still be a
      good idea to revisit the design with an eye to not re-writing the entire
      stats dataset every half second ... but that would be too much to backpatch,
      I fear.
      d5db3abf
    • Bruce Momjian's avatar
      Done: · e1af35af
      Bruce Momjian authored
      > 	o -Allow pooled connections to list all open WITH HOLD cursors
      e1af35af
    • Neil Conway's avatar
      Add a new system view, pg_cursors, that displays the currently available · 33e06ebc
      Neil Conway authored
      cursors. Patch from Joachim Wieland, review and ediorialization by Neil
      Conway. The view lists cursors defined by DECLARE CURSOR, using SPI, or
      via the Bind message of the frontend/backend protocol. This means the
      view does not list the unnamed portal or the portal created to implement
      EXECUTE. Because we do list SPI portals, there might be more rows in
      this view than you might expect if you are using SPI implicitly (e.g.
      via a procedural language).
      
      Per recent discussion on -hackers, the query string included in the
      view for cursors defined by DECLARE CURSOR is based on
      debug_query_string. That means it is not accurate if multiple queries
      separated by semicolons are submitted as one query string. However,
      there doesn't seem a trivial fix for that: debug_query_string
      is better than nothing. I also changed SPI_cursor_open() to include
      the source text for the portal it creates: AFAICS there is no reason
      not to do this.
      
      Update the documentation and regression tests, bump the catversion.
      33e06ebc
  9. 17 Jan, 2006 3 commits
  10. 16 Jan, 2006 2 commits