Skip to content
Snippets Groups Projects
  1. Mar 29, 2007
    • Alvaro Herrera's avatar
      Add the "recheck" logic to autovacuum worker code. The worker first builds · 7d4c9a57
      Alvaro Herrera authored
      its table list and then rechecks pgstat before vacuuming each table to
      verify that no one has vacuumed the table in the meantime.
      
      In the current autovacuum world this only means that a worker will not
      vacuum a table that a user has vacuumed manually after the worker started.
      When support for multiple autovacuum workers is introduced, this will reduce
      the probability of simultaneous workers on the same database doing redundant
      work.
      7d4c9a57
  2. Mar 28, 2007
  3. Mar 27, 2007
  4. Mar 26, 2007
  5. Mar 25, 2007
    • Tom Lane's avatar
      Clean up the representation of special snapshots by including a "method · e85a01df
      Tom Lane authored
      pointer" in every Snapshot struct.  This allows removal of the case-by-case
      tests in HeapTupleSatisfiesVisibility, which should make it a bit faster
      (I didn't try any performance tests though).  More importantly, we are no
      longer violating portable C practices by assuming that small integers are
      distinct from all pointer values, and HeapTupleSatisfiesDirty no longer
      has a non-reentrant API involving side-effects on a global variable.
      
      There were a couple of places calling HeapTupleSatisfiesXXX routines
      directly rather than through the HeapTupleSatisfiesVisibility macro.
      Since these places had to be changed anyway, I chose to make them go
      through the macro for uniformity.
      
      Along the way I renamed HeapTupleSatisfiesSnapshot to HeapTupleSatisfiesMVCC
      to emphasize that it's only used with MVCC-type snapshots.  I was sorely
      tempted to rename HeapTupleSatisfiesVisibility to HeapTupleSatisfiesSnapshot,
      but forebore for the moment to avoid confusion and reduce the likelihood that
      this patch breaks some of the pending patches.  Might want to reconsider
      doing that later.
      e85a01df
    • Tatsuo Ishii's avatar
      Add new encoding EUC_JIS_2004 and SHIFT_JIS_2004, · 75c6519f
      Tatsuo Ishii authored
      along with new conversions among EUC_JIS_2004, SHIFT_JIS_2004 and UTF-8.
      catalog version has been bump up.
      75c6519f
    • Bruce Momjian's avatar
      Add: · 7b4726e6
      Bruce Momjian authored
      >
      > * Allow BEFORE INSERT triggers on views
      >
      >   http://archives.postgresql.org/pgsql-general/2007-02/msg01466.php
      7b4726e6
    • Bruce Momjian's avatar
      Add: · b72426d3
      Bruce Momjian authored
      > 	o Add more logical syntax CLUSTER table ORDER BY index;
      > 	  support current syntax for backward compatibility
      b72426d3
  6. Mar 24, 2007
  7. Mar 23, 2007
Loading