1. 03 Dec, 2007 2 commits
    • Tom Lane's avatar
      Stamp 8.3beta4. · 01434d41
      Tom Lane authored
      01434d41
    • Tom Lane's avatar
      Revert COPY OUT to follow the pre-8.3 handling of ASCII control characters, · a63b63ff
      Tom Lane authored
      namely that \r, \n, \t, \b, \f, \v are dumped as those two-character
      representations rather than a backslash and the literal control character.
      I had made it do the other to save some code, but this was ill-advised,
      because dump files in which these characters appear literally are prone to
      newline mangling.  Fortunately, doing it the old way should only cost a few
      more lines of code, and not slow down the copy loop materially.
      Per bug #3795 from Lou Duchez.
      a63b63ff
  2. 02 Dec, 2007 6 commits
  3. 01 Dec, 2007 4 commits
  4. 30 Nov, 2007 5 commits
    • Tom Lane's avatar
      Avoid incrementing the CommandCounter when CommandCounterIncrement is called · 895a94de
      Tom Lane authored
      but no database changes have been made since the last CommandCounterIncrement.
      This should result in a significant improvement in the number of "commands"
      that can typically be performed within a transaction before hitting the 2^32
      CommandId size limit.  In particular this buys back (and more) the possible
      adverse consequences of my previous patch to fix plan caching behavior.
      
      The implementation requires tracking whether the current CommandCounter
      value has been "used" to mark any tuples.  CommandCounter values stored into
      snapshots are presumed not to be used for this purpose.  This requires some
      small executor changes, since the executor used to conflate the curcid of
      the snapshot it was using with the command ID to mark output tuples with.
      Separating these concepts allows some small simplifications in executor APIs.
      
      Something for the TODO list: look into having CommandCounterIncrement not do
      AcceptInvalidationMessages.  It seems fairly bogus to be doing it there,
      but exactly where to do it instead isn't clear, and I'm disinclined to mess
      with asynchronous behavior during late beta.
      895a94de
    • Tom Lane's avatar
      Repair bug that allowed RevalidateCachedPlan to attempt to rebuild a cached · f0f18c70
      Tom Lane authored
      plan before the effects of DDL executed in an immediately prior SPI operation
      had been absorbed.  Per report from Chris Wood.
      
      This patch has an unpleasant side effect of causing the number of
      CommandCounterIncrement()s done by a typical plpgsql function to
      approximately double.  Amelioration of the consequences of that
      will be undertaken in a separate patch.
      f0f18c70
    • Magnus Hagander's avatar
    • Magnus Hagander's avatar
      Use _dosmaperr() to deal with errors opening files in pgwin32_open(). · 35736874
      Magnus Hagander authored
      Per complaint from Alvaro and subsequent discussion.
      35736874
    • Bruce Momjian's avatar
      Update release notes to current CVS. · c2d30556
      Bruce Momjian authored
      c2d30556
  5. 29 Nov, 2007 2 commits
  6. 28 Nov, 2007 19 commits
  7. 27 Nov, 2007 2 commits
    • Tom Lane's avatar
      Fix plpgsql to not lookup block labels except in contexts where a block label · a54d3fb2
      Tom Lane authored
      is sane (eg, EXIT argument or first part of a qualified identifier), and cause
      more-closely-nested record variables to take precedence over outer block
      labels.  This cures the breakage exhibited by Marko Kreen that 8.3 no longer
      allowed a function's name to be used for a variable within the function, and
      makes plpgsql's handling of block labels more like Oracle's.  It's important
      to fix this now because we are documenting the use of block labels as variable
      qualifiers for the first time in 8.3.
      a54d3fb2
    • Tom Lane's avatar
      Fix pg_regress to check the directory it is actually reading files from, · 42fd80de
      Tom Lane authored
      not the image that (theoretically) should exist in the current directory.
      
      Jørgen Austvik
      42fd80de