1. 09 2月, 2007 9 次提交
    • B
      Remove blank line from C code. · acb34166
      Bruce Momjian 提交于
      acb34166
    • B
      Update: · aba039df
      Bruce Momjian 提交于
      < * Consider placing all sequences in a single table
      > * Consider placing all sequences in a single table, or create a system
      >   view
      aba039df
    • B
      Update: · 5bdf44c6
      Bruce Momjian 提交于
      < * Consider placing all sequences in a single table, now that system
      <   tables are full transactional
      > * Consider placing all sequences in a single table
      5bdf44c6
    • B
      Add: · 18d36f9e
      Bruce Momjian 提交于
      > * Consider placing all sequences in a single table, now that system
      >   tables are full transactional
      18d36f9e
    • B
      Add URL for: · 2737f304
      Bruce Momjian 提交于
      * Add support for SQL-standard GENERATED/IDENTITY columns
      >   http://archives.postgresql.org/pgsql-hackers/2006-08/msg00038.php
      2737f304
    • T
      Add missing #define for mingw, per Magnus. · 4a30da1e
      Tom Lane 提交于
      4a30da1e
    • T
      Fix an ancient logic error in plpgsql's exec_stmt_block: it thought it could · fe796ea8
      Tom Lane 提交于
      get away with not (re)initializing a local variable if the variable is marked
      "isconst" and not "isnull".  Unfortunately it makes this decision after having
      already freed the old value, meaning that something like
      
         for i in 1..10 loop
           declare c constant text := 'hi there';
      
      leads to subsequent accesses to freed memory, and hence probably crashes.
      (In particular, this is why Asif Ali Rehman's bug leads to crash and not
      just an unexpectedly-NULL value for SQLERRM: SQLERRM is marked CONSTANT
      and so triggers this error.)
      
      The whole thing seems wrong on its face anyway: CONSTANT means that you can't
      change the variable inside the block, not that the initializer expression is
      guaranteed not to change value across successive block entries.  Hence,
      remove the "optimization" instead of trying to fix it.
      fe796ea8
    • T
      Rearrange use of plpgsql_add_initdatums() so that only the parsing of a · 7ad33ceb
      Tom Lane 提交于
      DECLARE section needs to know about it.  Formerly, everyplace besides DECLARE
      that created variables needed to do "plpgsql_add_initdatums(NULL)" to prevent
      those variables from being sucked up as part of a subsequent DECLARE block.
      This is obviously error-prone, and in fact the SQLSTATE/SQLERRM patch had
      failed to do it for those two variables, leading to the bug recently exhibited
      by Asif Ali Rehman: a DECLARE within an exception handler tried to reinitialize
      SQLERRM.
      
      Although the SQLSTATE/SQLERRM patch isn't in any pre-8.1 branches, and so
      I can't point to a demonstrable failure there, it seems wise to back-patch
      this into the older branches anyway, just to keep the logic similar to HEAD.
      7ad33ceb
    • B
      Fix bug when localized to_char() day or month names were incorectly · b577aa9e
      Bruce Momjian 提交于
      trnasformed to lower or upper string.
      
      Pavel Stehule
      b577aa9e
  2. 08 2月, 2007 15 次提交
  3. 07 2月, 2007 14 次提交
  4. 06 2月, 2007 2 次提交