Skip to content
Snippets Groups Projects
  1. Oct 14, 2005
  2. Oct 13, 2005
  3. Oct 12, 2005
  4. Oct 11, 2005
    • Tom Lane's avatar
      Add infrastructure for making spins_per_delay variable depending on · a72ee090
      Tom Lane authored
      whether we seem to be running in a uniprocessor or multiprocessor.
      The adjustment rules could probably still use further tweaking, but
      I'm convinced this should be a win overall.
      a72ee090
    • Tom Lane's avatar
      Document that get_attstatsslot/free_attstatsslot only need to be passed · 0cc0d082
      Tom Lane authored
      valid type information if they are asked to fetch the values part of a
      pg_statistic slot; these arguments are unneeded if fetching only the
      numbers part.  Use this to save a catcache lookup in btcostestimate,
      which is looking like a bit of a hotspot in recent profiling.  Not a
      big savings, but since it's essentially free, might as well do it.
      0cc0d082
    • Tom Lane's avatar
      Fix oversight in 8.0 modification of RestrictInfo data structures. · 07e6f93d
      Tom Lane authored
      A RestrictInfo representing an OR clause now contains two versions of
      the contained expression, one with sub-RestrictInfos and one without.
      clause_selectivity() should descend to the version with sub-RestrictInfos
      so that it has a chance of caching its results for the OR's sub-clauses.
      Failing to do so resulted in redundant planner effort.
      07e6f93d
  5. Oct 10, 2005
  6. Oct 09, 2005
    • Tom Lane's avatar
      Fix (hopefully for the last time) problems with datetime values displaying · 313ed1ed
      Tom Lane authored
      like '23:59:60' because of fractional-second roundoff problems.  Trying
      to control this upstream of the actual display code was hopeless; the right
      way is to explicitly round fractional seconds in the display code and then
      refigure the results if the fraction rounds up to 1.  Per bug #1927.
      313ed1ed
  7. Oct 08, 2005
  8. Oct 07, 2005
  9. Oct 06, 2005
  10. Oct 05, 2005
  11. Oct 04, 2005
  12. Oct 03, 2005
    • Tom Lane's avatar
    • Tom Lane's avatar
      Expand pg_control information so that we can verify that the database · 64eea6c2
      Tom Lane authored
      was created on a machine with alignment rules and floating-point format
      similar to the current machine.  Per recent discussion, this seems like
      a good idea with the increasing prevalence of 32/64 bit environments.
      64eea6c2
    • Tom Lane's avatar
      Change nextval and other sequence functions to specify their sequence · aa731ed8
      Tom Lane authored
      argument as a 'regclass' value instead of a text string.  The frontend
      conversion of text string to pg_class OID is now encapsulated as an
      implicitly-invocable coercion from text to regclass.  This provides
      backwards compatibility to the old behavior when the sequence argument
      is explicitly typed as 'text'.  When the argument is just an unadorned
      literal string, it will be taken as 'regclass', which means that the
      stored representation will be an OID.  This solves longstanding problems
      with renaming sequences that are referenced in default expressions, as
      well as new-in-8.1 problems with renaming such sequences' schemas or
      moving them to another schema.  All per recent discussion.
      Along the way, fix some rather serious problems in dbmirror's support
      for mirroring sequence operations (int4 vs int8 confusion for instance).
      aa731ed8
Loading