Skip to content
Snippets Groups Projects
  1. May 27, 2012
    • Bruce Momjian's avatar
    • Magnus Hagander's avatar
      Make pg_recievexlog by default loop on connection failures · 16282ae6
      Magnus Hagander authored
      Avoids the need for an external script in the most common
      scenario. Behavior can be overridden using the -n/--noloop
      commandline parameter.
      16282ae6
    • Magnus Hagander's avatar
      Fix handling of pg_stat_statements.stat temporary file · 2b97db61
      Magnus Hagander authored
      Write the file to a temporary name and then rename() it into the
      permanent name, to ensure it can't end up half-written and corrupt
      in case of a crash during shutdown.
      
      Unlink the file after it has been read so it's removed from the data
      directory and not included in base backups going to replication slaves.
      2b97db61
    • Tom Lane's avatar
      Prevent synchronized scanning when systable_beginscan chooses a heapscan. · 532fe28d
      Tom Lane authored
      The only interesting-for-performance case wherein we force heapscan here
      is when we're rebuilding the relcache init file, and the only such case
      that is likely to be examining a catalog big enough to be syncscanned is
      RelationBuildTupleDesc.  But the early-exit optimization in that code gets
      broken if we start the scan at a random place within the catalog, so that
      allowing syncscan is actually a big deoptimization if pg_attribute is large
      (at least for the normal case where the rows for core system catalogs have
      never been changed since initdb).  Hence, prevent syncscan here.  Per my
      testing pursuant to complaints from Jeff Frost and Greg Sabino Mullane,
      though neither of them seem to have actually hit this specific problem.
      
      Back-patch to 8.3, where syncscan was introduced.
      532fe28d
  2. May 25, 2012
  3. May 24, 2012
  4. May 23, 2012
  5. May 22, 2012
  6. May 21, 2012
  7. May 20, 2012
  8. May 19, 2012
Loading