1. 20 Dec, 2008 1 commit
  2. 19 Dec, 2008 5 commits
  3. 18 Dec, 2008 6 commits
  4. 17 Dec, 2008 3 commits
    • Michael Meskes's avatar
      Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to · e05c5a90
      Michael Meskes authored
      fix segfault on non-glibc systems.
      e05c5a90
    • Heikki Linnakangas's avatar
      Don't reset pg_class.reltuples and relpages in VACUUM, if any pages were · dcf84099
      Heikki Linnakangas authored
      skipped. We could update relpages anyway, but it seems better to only
      update it together with reltuples, because we use the reltuples/relpages
      ratio in the planner. Also don't update n_live_tuples in pgstat.
      
      ANALYZE in VACUUM ANALYZE now needs to update pg_class, if the
      VACUUM-phase didn't do so. Added some boolean-passing to let analyze_rel
      know if it should update pg_class or not.
      
      I also moved the relcache invalidation (to update rd_targblock) from
      vac_update_relstats to where RelationTruncate is called, because
      vac_update_relstats is not called for partial vacuums anymore. It's more
      obvious to send the invalidation close to the truncation that requires it.
      
      Per report by Ned T. Crigler.
      dcf84099
    • Bruce Momjian's avatar
      The attached patch contains a couple of fixes in the existing probes and · 5a90bc1f
      Bruce Momjian authored
      includes a few new ones.
      
      - Fixed compilation errors on OS X for probes that use typedefs
      - Fixed a number of probes to pass ForkNumber per the relation forks
      patch
      - The new probes are those that were taken out from the previous
      submitted patch and required simple fixes. Will submit the other probes
      that may require more discussion in a separate patch.
      
      Robert Lor
      5a90bc1f
  5. 16 Dec, 2008 5 commits
  6. 15 Dec, 2008 11 commits
  7. 14 Dec, 2008 2 commits
  8. 13 Dec, 2008 3 commits
    • Tom Lane's avatar
      Increase the default value of default_statistics_target from 10 to 100, · 65e3ea76
      Tom Lane authored
      and its maximum value from 1000 to 10000.  ALTER TABLE SET STATISTICS
      similarly now allows a value up to 10000.  Per discussion.
      65e3ea76
    • Tom Lane's avatar
      Remove pg_plan_queries()'s now-useless needSnapshot parameter. It's useless · b69bde77
      Tom Lane authored
      in 8.3, too, but I'm not back-patching this change since it would break any
      extension modules that might be calling that function.
      b69bde77
    • Tom Lane's avatar
      Fix failure to ensure that a snapshot is available to datatype input functions · c98a9237
      Tom Lane authored
      when they are invoked by the parser.  We had been setting up a snapshot at
      plan time but really it needs to be done earlier, before parse analysis.
      Per report from Dmitry Koterov.
      
      Also fix two related problems discovered while poking at this one:
      exec_bind_message called datatype input functions without establishing a
      snapshot, and SET CONSTRAINTS IMMEDIATE could call trigger functions without
      establishing a snapshot.
      
      Backpatch to 8.2.  The underlying problem goes much further back, but it is
      masked in 8.1 and before because we didn't attempt to invoke domain check
      constraints within datatype input.  It would only be exposed if a C-language
      datatype input function used the snapshot; which evidently none do, or we'd
      have heard complaints sooner.  Since this code has changed a lot over time,
      a back-patch is hardly risk-free, and so I'm disinclined to patch further
      than absolutely necessary.
      c98a9237
  9. 12 Dec, 2008 2 commits
  10. 11 Dec, 2008 2 commits