1. 09 Jun, 2005 20 commits
  2. 08 Jun, 2005 4 commits
  3. 07 Jun, 2005 7 commits
    • Bruce Momjian's avatar
      fbc4edfb
    • Bruce Momjian's avatar
      Fix word wrap: · b3e798d7
      Bruce Momjian authored
      <   changes made by the interface driver for its internal use.  One idea is
      <   for this to be a protocol-only feature.  Another approach is to notify
      <   the protocol when a RESET CONNECTION command is used.
      >   changes made by the interface driver for its internal use.  One idea
      >   is for this to be a protocol-only feature.  Another approach is to
      >   notify the protocol when a RESET CONNECTION command is used.
      b3e798d7
    • Tom Lane's avatar
      Use just NULL not NULL::TEXT --- the latter coding is unnecessary and · c14f2ba7
      Tom Lane authored
      not schema-safe.  Per report from Jochem van Dieten.
      c14f2ba7
    • Neil Conway's avatar
      Add a function lastval(), which returns the value returned by the · 657c098e
      Neil Conway authored
      last nextval() or setval() performed by the current session. Update the
      docs, add regression tests, and bump the catalog version. Patch from
      Dennis Björklund, various improvements by Neil Conway.
      657c098e
    • Neil Conway's avatar
      Add support for an optional INTO clause to PL/PgSQL's EXECUTE command. · c59887f9
      Neil Conway authored
      This allows the result of executing a SELECT to be assigned to a row
      variable, record variable, or list of scalars. Docs and regression tests
      updated. Per Pavel Stehule, improvements and cleanup by Neil Conway.
      c59887f9
    • Bruce Momjian's avatar
      Update text for RESET CONNECTION: · 0f011f6d
      Bruce Momjian authored
      <   all temporary tables, removal of any NOTIFYs, cursors, prepared
      <   queries(?), currval()s, etc.  This could be used for connection pooling.
      <   We could also change RESET ALL to have this functionality.
      >   temporary tables, removing any NOTIFYs, cursors, open transactions,
      >   prepared queries, currval()s, etc.  This could be used  for connection
      >   pooling.  We could also change RESET ALL to have this functionality.
      >   The difficult of this features is allowing RESET ALL to not affect
      >   changes made by the interface driver for its internal use.  One idea is
      >   for this to be a protocol-only feature.  Another approach is to notify
      >   the protocol when a RESET CONNECTION command is used.
      0f011f6d
    • Bruce Momjian's avatar
      Ipcrm -> ipcclean in error message: · 1b000116
      Bruce Momjian authored
      ```------------------------------------------------------------------------
      While playing around, I got the following error message:
      
      --
      FATAL:  pre-existing shared memory block (key 5432001, ID 90898435) is
      still in use
      HINT:  If you're sure there are no old server processes still running,
      remove the shared memory block with the command "ipcrm", or just delete
      the file "/home/hlinnaka/pgsql/data/postmaster.pid".
      ```
      
      Thats normal because I used "kill -9 postmaster" to shut down.
      
      The hint advises me to use "ipcrm", but there's the "ipcclean" script in
      bin for just this purpose. The hint should probably advise to use
      ipcclean.
      
      The attached patch replaces all occurances of "ipcrm" with "ipcclean" in
      src/backend/utils/init/miscinit.c and all the translations in
      src/backend/po.
      
      While reviewing the patch, I noticed a likely typo in hr.po. While I
      don't
      speak Croatian, the translation seems to advise to use the "icpm(1)"
      command. I changed that to "ipcclean" too.
      
      Heikki Linnakangas
      1b000116
  4. 06 Jun, 2005 7 commits
  5. 05 Jun, 2005 2 commits
    • Tom Lane's avatar
      Remove planner's private fields from Query struct, and put them into · 9ab4d981
      Tom Lane authored
      a new PlannerInfo struct, which is passed around instead of the bare
      Query in all the planning code.  This commit is essentially just a
      code-beautification exercise, but it does open the door to making
      larger changes to the planner data structures without having to muck
      with the widely-known Query struct.
      9ab4d981
    • Bruce Momjian's avatar
      Add description for backend termination: · 22dbd540
      Bruce Momjian authored
      <   cleaned up properly.  A new signal is needed for safe termination.
      >   cleaned up properly.  A new signal is needed for safe termination
      >   because backends must first do a query cancel, then exit once they
      >   have run the query cancel cleanup routine.
      22dbd540