1. 16 4月, 2010 6 次提交
  2. 15 4月, 2010 6 次提交
    • M
      Add script to enumerate the timezones in the Windows registry and compare · 17056e05
      Magnus Hagander 提交于
      it with the list we have in pgtz.c, showing any differences.
      17056e05
    • P
      Update XML features list · 7a7663f6
      Peter Eisentraut 提交于
      7a7663f6
    • B
      Doc change: effect -> affect, per Robert Haas · ec4b9bcc
      Bruce Momjian 提交于
      ec4b9bcc
    • T
      Fix plpgsql's exec_eval_expr() to ensure it returns a sane type OID · f7c5ff3d
      Tom Lane 提交于
      even when the expression is a query that returns no rows.
      
      So far as I can tell, the only caller that actually fails when a garbage
      OID is returned is exec_stmt_case(), which is new in 8.4 --- in all other
      cases, we might make a useless trip through casting logic, but we won't
      fail since the isnull flag will be set.  Hence, backpatch only to 8.4,
      just in case there are apps out there that aren't expecting an error to
      be thrown if the query returns more or less than one column.  (Which seems
      unlikely, since the error would be thrown if the query ever did return a
      row; but it's possible there's some never-exercised code out there.)
      
      Per report from Mario Splivalo.
      f7c5ff3d
    • T
      Fix a problem introduced by my patch of 2010-01-12 that revised the way · 73981cb4
      Tom Lane 提交于
      relcache reload works.  In the patched code, a relcache entry in process of
      being rebuilt doesn't get unhooked from the relcache hash table; which means
      that if a cache flush occurs due to sinval queue overrun while we're
      rebuilding it, the entry could get blown away by RelationCacheInvalidate,
      resulting in crash or misbehavior.  Fix by ensuring that an entry being
      rebuilt has positive refcount, so it won't be seen as a target for removal
      if a cache flush occurs.  (This will mean that the entry gets rebuilt twice
      in such a scenario, but that's okay.)  It appears that the problem can only
      arise within a transaction that has previously reassigned the relfilenode of
      a pre-existing table, via TRUNCATE or a similar operation.  Per bug #5412
      from Rusty Conover.
      
      Back-patch to 8.2, same as the patch that introduced the problem.
      I think that the failure can't actually occur in 8.2, since it lacks the
      rd_newRelfilenodeSubid optimization, but let's make it work like the later
      branches anyway.
      
      Patch by Heikki, slightly editorialized on by me.
      73981cb4
    • R
      Typo fix. Kevin Grittner. · 9d137a75
      Robert Haas 提交于
      9d137a75
  3. 14 4月, 2010 2 次提交
  4. 13 4月, 2010 6 次提交
  5. 12 4月, 2010 4 次提交
  6. 09 4月, 2010 3 次提交
  7. 08 4月, 2010 3 次提交
    • M
      Proceed to look for the next timezone when matching a localized · 6efb081e
      Magnus Hagander 提交于
      Windows timezone name where the information in the registry is
      incomplete, instead of aborting.
      
      This fixes cases when the registry information is incomplete for
      a timezone that is alphabetically before the one that is in use.
      
      Per report from Alexander Forschner
      6efb081e
    • R
      Make smart shutdown work in combination with Hot Standby/Streaming Replication. · 1c850fa8
      Robert Haas 提交于
      At present, killing the startup process does not release any locks it holds,
      so we must wait to stop the startup and walreceiver processes until all
      read-only backends have exited.  Without this patch, the startup and
      walreceiver processes never exit, so the server gets permanently stuck in
      a half-shutdown state.
      
      Fujii Masao, with review, docs, and comment adjustments by me.
      1c850fa8
    • T
      Fix to_char YYY, YY, Y format codes so that FM zero-suppression really works, · 2c0870ff
      Tom Lane 提交于
      rather than only sort-of working as the previous attempt had left it.
      Clean up some unnecessary differences between the way these were coded and
      the way the YYYY case was coded.  Update the regression test cases that
      proved that it wasn't working.
      2c0870ff
  8. 07 4月, 2010 6 次提交
  9. 06 4月, 2010 3 次提交
  10. 05 4月, 2010 1 次提交
    • I
      Assorted tab-completion improvements in psql. · f1926c93
      Itagaki Takahiro 提交于
      Add missing completions for:
      - ALTER SEQUENCE name OWNER TO
      - ALTER TYPE name RENAME TO
      - ALTER VIEW name ALTER COLUMN
      - ALTER VIEW name OWNER TO
      - ALTER VIEW name SET SCHEMA
      
      Fix wrong completions for:
      - ALTER FUNCTION/AGGREGATE name (arguments) ...
          "(arguments)" has been ignored.
      - ALTER ... SET SCHEMA
          "SCHEMA" has been considered as a variable name.
      f1926c93