1. 16 Dec, 2006 2 commits
  2. 26 Nov, 2006 1 commit
  3. 20 Nov, 2006 1 commit
    • Eric Marsden's avatar
      Add an ABORT keyword argument to PG-DISCONNECT (from Robert J. · e0d813fe
      Eric Marsden authored
      Macomber <pgsql@rojoma.com>), as per CL:CLOSE.
      
        "I've run into a problem with pg-disconnect if something abnormal
         happens to the database connection -- if the database goes away for a
         restart while pg has a connection open, for example.  When this
         happens, pg-disconnect fails, and the socket file descriptor is left
         open (presumably for a finalizer to clean up), also raising a new
         error from the unwind-protect in with-pg-connection.  To guard against
         the possibility, I've added an :abort parameter to pg-disconnect, like
         cl:close has, and made with-pg-connection call it with :abort t if the
         body exits abnormally, in the same way that with-open-file operates.
         When :abort is true, the modified pg-disconnect closes the database
         connection ungracefully, including making the close call abort
         (otherwise, sbcl at keast tries to flush the stream, raising another
         error if the database isn't there anymore)."
      e0d813fe
  4. 19 Nov, 2006 1 commit
  5. 22 Oct, 2006 4 commits
  6. 30 Sep, 2006 1 commit
  7. 24 Sep, 2006 4 commits
  8. 23 Sep, 2006 1 commit
    • Eric Marsden's avatar
      - on CL implementations that support Unix sockets, the HOST argument · bf3b142d
      Eric Marsden authored
         to PG-CONNECT may designate the directory containing the local
         PostgreSQL unix socket (often "/var/run/postgresql/"). The HOST
         argument is assumed to designate a local directory rather than a
         hostname when its first character is #\/. You may need to modify
         authentication options in the PostgreSQL configuration file
         pg_hba.conf to allow connections over a unix-domain socket where
         the databse username is not equal to your ident tokens. This is an
         incompatible change to previous support for unix-domain sockets
         with CMUCL (previously a HOST of NIL told pg-dot-lisp to connect
         to a unix-domain socket whose name was hardwired into the library).
         This support currently exists for SBCL, CMUCL and OpenMCL.
      bf3b142d
  9. 19 Sep, 2006 1 commit
  10. 18 Sep, 2006 5 commits
  11. 15 Sep, 2006 2 commits
  12. 28 Aug, 2006 1 commit
  13. 07 Feb, 2006 1 commit
  14. 27 Jan, 2006 2 commits
  15. 25 Jan, 2006 1 commit
  16. 19 Dec, 2005 4 commits
  17. 18 Oct, 2005 1 commit
  18. 01 Aug, 2005 1 commit
  19. 17 Jul, 2005 6 commits