1. 01 Aug, 2003 19 commits
  2. 31 Jul, 2003 11 commits
  3. 30 Jul, 2003 7 commits
  4. 29 Jul, 2003 3 commits
    • Tom Lane's avatar
      Fix longstanding error in _bt_search(): should moveright at top of loop not · 892a51c3
      Tom Lane authored
      bottom.  Otherwise we fail to moveright when the root page was split while
      we were "in flight" to it.  This is not a significant problem when the root
      is above the leaf level, but if the root was also a leaf (ie, a single-page
      index just got split) we may return the wrong leaf page to the caller,
      resulting in failure to find a key that is in fact present.  Bug has existed
      at least since 7.1, probably forever.
      892a51c3
    • Tom Lane's avatar
      Coerce unknown-literal-constant default values to the column type during · 5e3c09a1
      Tom Lane authored
      CREATE TABLE (or ALTER TABLE SET DEFAULT), rather than postponing it to
      the time that the default is inserted into an INSERT command by the
      rewriter.  This reverses an old decision that was intended to make the
      world safe for writing
      	f1 timestamp default 'now'
      but in fact merely made the failure modes subtle rather than obvious.
      Per recent trouble report and followup discussion.
      
      initdb forced since there is a chance that stored default expressions
      will change.
      5e3c09a1
    • Tom Lane's avatar
      There is no reason to cast valuntil to timestamp, and a very good · f353f8e8
      Tom Lane authored
      reason not to: it fails for an 'invalid' abstime.  Per bug report
      of today's date.
      f353f8e8