1. 13 Oct, 2007 1 commit
    • Tom Lane's avatar
      Teach planagg.c that partial indexes specifying WHERE foo IS NOT NULL can be · 106264ca
      Tom Lane authored
      used to perform MIN(foo) or MAX(foo), since we want to discard null rows in
      the indexscan anyway.  (This would probably fall out for free if we were
      injecting the IS NOT NULL clause somewhere earlier, but given the current
      anatomy of the MIN/MAX optimization code we have to do it explicitly.
      Fortunately, very little added code is needed.)  Per a discussion with
      Henk de Wit.
      106264ca
  2. 12 Oct, 2007 2 commits
    • Tom Lane's avatar
      When telling the bgwriter that we need a checkpoint because too much xlog · 5c8eb929
      Tom Lane authored
      has been consumed, recheck against the latest value of RedoRecPtr before
      really sending the signal.  This avoids useless checkpoint activity if
      XLogWrite is executed when we have a very stale local copy of RedoRecPtr.
      The potential for useless checkpoint is very much worse in 8.3 because of
      the walwriter process (which never does XLogInsert), so while this behavior
      was intentional, it needs to be changed.  Per report from Itagaki Takahiro.
      5c8eb929
    • Tom Lane's avatar
      Remove hack in pg_tablespace_aclmask() that disallowed permissions · 6daef2bc
      Tom Lane authored
      on pg_global even to superusers, and replace it with checks in various
      other places to complain about invalid uses of pg_global.  This ends
      up being a bit more code but it allows a more specific error message
      to be given, and it un-breaks pg_tablespace_size() on pg_global.
      Per discussion.
      6daef2bc
  3. 11 Oct, 2007 8 commits
  4. 10 Oct, 2007 6 commits
  5. 09 Oct, 2007 10 commits
  6. 08 Oct, 2007 3 commits
  7. 07 Oct, 2007 5 commits
  8. 06 Oct, 2007 5 commits