1. 29 Oct, 2007 7 commits
  2. 28 Oct, 2007 4 commits
    • Tom Lane's avatar
      Ooops, fat-fingered last commit message. Should have · 3fe26620
      Tom Lane authored
      mentioned updating FAQ_IRIX for information about buggy MIPSPro
      compiler version, now confirmed by Herve Boulouis.
      3fe26620
    • Tom Lane's avatar
      FAQ_IRIX · d034a268
      Tom Lane authored
      d034a268
    • Tom Lane's avatar
      Make pg_dump and friends consistently report both the filename and the · 27c033ed
      Tom Lane authored
      errno string when complaining of fopen failures.  Per gripe from Bob
      Pawley, it's not always instantly obvious to the user which name we
      tried to open.
      27c033ed
    • Tom Lane's avatar
      Fix a couple of issues with pg_dump's handling of inheritance child tables · 006f42c7
      Tom Lane authored
      that have default expressions different from their parent.  First, if the
      parent table's default expression has to be split out as a separate
      ALTER TABLE command, we need a dependency constraint to ensure that the
      child's command is given second.  This is because the ALTER TABLE on the
      parent will propagate to the child.  (We can't prevent that by using ONLY on
      the parent's command, since it's possible that other children exist that
      should receive the inherited default.)  Second, if the child has a NULL
      default where the parent does not, we have to explicitly say DEFAULT NULL on
      the child in order for this state to be preserved after reload.  (The latter
      actually doesn't work right because of a backend bug, but that is a separate
      issue.)
      
      Backpatch as far as 8.0.  7.x pg_dump has enough issues with altered tables
      (due to lack of dependency analysis) that trying to fix this one doesn't seem
      very productive.
      006f42c7
  3. 27 Oct, 2007 7 commits
  4. 26 Oct, 2007 9 commits
  5. 25 Oct, 2007 8 commits
  6. 24 Oct, 2007 5 commits
    • Tom Lane's avatar
      Disallow scrolling of FOR UPDATE/FOR SHARE cursors, so as to avoid problems · 048efc25
      Tom Lane authored
      in corner cases such as re-fetching a just-deleted row.  We may be able to
      relax this someday, but let's find out how many people really care before
      we invest a lot of work in it.  Per report from Heikki and subsequent
      discussion.
      
      While in the neighborhood, make the combination of INSENSITIVE and FOR UPDATE
      throw an error, since they are semantically incompatible.  (Up to now we've
      accepted but just ignored the INSENSITIVE option of DECLARE CURSOR.)
      048efc25
    • Tom Lane's avatar
    • Alvaro Herrera's avatar
      Rearrange vacuum-related bits in PGPROC as a bitmask, to better support · 745c1b2c
      Alvaro Herrera authored
      having several of them.  Add two more flags: whether the process is
      executing an ANALYZE, and whether a vacuum is for Xid wraparound (which
      is obviously only set by autovacuum).
      
      Sneakily move the worker's recently-acquired PostAuthDelay to a more useful
      place.
      745c1b2c
    • Tom Lane's avatar
      Fix an error in make_outerjoininfo introduced by my patch of 30-Aug: the code · 3ef18797
      Tom Lane authored
      neglected to test whether an outer join's join-condition actually refers to
      the lower outer join it is looking at.  (The comment correctly described what
      was supposed to happen, but the code didn't do it...)  This often resulted in
      adding an unnecessary constraint on the join order of the two outer joins,
      which was bad enough.  However, it also seems to expose a performance
      problem in an older patch (from 15-Feb): once we've decided that there is a
      join ordering constraint, we will start trying clauseless joins between every
      combination of rels within the constraint, which pointlessly eats up lots of
      time and space if there are numerous rels below the outer join.  That probably
      needs to be revisited :-(.  Per gripe from Jakub Ouhrabka.
      3ef18797
    • Alvaro Herrera's avatar
      Danish_Danmark -> Danish_Denmark · 5c4249c3
      Alvaro Herrera authored
      5c4249c3