1. 06 Aug, 2002 6 commits
    • Bruce Momjian's avatar
      Of course, the simple change has ripple effects! Here's a patch for the · 683b0d3a
      Bruce Momjian authored
      rangefunc regression test for the new behavior.
      
      Joe Conway
      683b0d3a
    • Bruce Momjian's avatar
      >> Hm. I'd sort of expect the "z" to become both the table and column · 4f63e116
      Bruce Momjian authored
      >> alias in this case.  What do you think?
      >
      > I guess that would make sense. I'll make a separate patch just for
      that
      > change if that's OK.
      >
      
      Simple change -- patch attached.
      
      test=# select * from myfoo1() as z;
        z
      ----
         1
         2
         3
      (3 rows)
      
      Joe Conway
      4f63e116
    • Bruce Momjian's avatar
      The attached patch disallows the use of coldeflists for functions that · dd6513a5
      Bruce Momjian authored
      don't return type RECORD. It also catches a core dump condition when a
      function returning RECORD had an alias list instead of a coldeflist.
      
      Now both conditions throw an ERROR.
      
      Joe Conway
      dd6513a5
    • Bruce Momjian's avatar
      This patch fixes two typos in the documentation for the newly added · 7b30ed8f
      Bruce Momjian authored
      START TRANSACTION command.
      
      Neil Conway
      7b30ed8f
    • Bruce Momjian's avatar
      This patch changes the behavior of PostgreSQL so that if any queries are · a6c76819
      Bruce Momjian authored
      executed in an implicitely aborted transaction (e.g. after an occur
      occurs), we return an error (and not just a warning). For example:
      
      nconway=# begin;
      BEGIN
      nconway=# insert; -- syntax error
      ERROR:  parser: parse error at or near ";"
      nconway=# select * from a;
      ERROR:  current transaction is aborted, queries ignored until end of
      transaction block
      
      The old behavior was:
      
      nconway=# begin;
      BEGIN
      nconway=# insert;
      ERROR:  parser: parse error at or near ";"
      nconway=# select * from a;
      WARNING:  current transaction is aborted, queries ignored until end
      of transaction block
      *ABORT STATE*
      
      Which can be confusing: if the client isn't paying careful attention,
      they will conclude that the query has executed (because no error is
      returned).
      
      Neil Conway
      a6c76819
    • Tom Lane's avatar
      Restructure local-buffer handling per recent pghackers discussion. · 5df307c7
      Tom Lane authored
      The local buffer manager is no longer used for newly-created relations
      (unless they are TEMP); a new non-TEMP relation goes through the shared
      bufmgr and thus will participate normally in checkpoints.  But TEMP relations
      use the local buffer manager throughout their lifespan.  Also, operations
      in TEMP relations are not logged in WAL, thus improving performance.
      Since it's no longer necessary to fsync relations as they move out of the
      local buffers into shared buffers, quite a lot of smgr.c/md.c/fd.c code
      is no longer needed and has been removed: there's no concept of a dirty
      relation anymore in md.c/fd.c, and we never fsync anything but WAL.
      Still TODO: improve local buffer management algorithms so that it would
      be reasonable to increase NLocBuffer.
      5df307c7
  2. 05 Aug, 2002 6 commits
  3. 04 Aug, 2002 28 commits