Skip to content
  1. Nov 19, 2006
    • emarsden's avatar
      [pg @ 2006-11-19 18:47:58 by emarsden] · d74a5aa1
      emarsden authored
      Allow encoding used for socket communication with the backend to be
      specified as a keyword argument to PG-CONNECT, for cases where
      rebinding *PG-CLIENT-ENCODING* is inconvenient.
      
      Add a simple test for encoding support.
      
      (From Attila Lendvai <attila.lendvai@gmail.com>)
      
      darcs-hash:9f1f315eb332972142eadea0eff9cb70e5702ece
      d74a5aa1
  2. Oct 22, 2006
  3. Sep 30, 2006
    • emarsden's avatar
      [pg @ 2006-09-30 16:51:12 by emarsden] · ede17214
      emarsden authored
      Add unix-domain socket support for Allegro CL (tested with Express
      edition for Linux/x86).
      
      darcs-hash:8b5f269f3f48782be742a3e1ccbcca7f9506674c
      ede17214
  4. Sep 24, 2006
  5. Sep 23, 2006
    • emarsden's avatar
      [pg @ 2006-09-23 12:24:28 by emarsden] · 06d67504
      emarsden authored
      - on CL implementations that support Unix sockets, the HOST argument
         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.
      
      darcs-hash:1079feb38d33f9b9d1f14fbcd0fef67dc7954aa3
      06d67504
  6. Sep 18, 2006
    • emarsden's avatar
      [pg @ 2006-09-18 21:33:10 by emarsden] · 2f5dce0f
      emarsden authored
      Make comparison in IMPLEMENTATION-NAME-FOR-ENCODING case-insensitive
      (from ya007@yandex.ru).
      
      darcs-hash:9fcce8a4e55f3ab822c35a64ac68e3c5846db028
      2f5dce0f
  7. Jan 27, 2006
    • emarsden's avatar
      [pg @ 2006-01-27 18:03:39 by emarsden] · 3439a855
      emarsden authored
      Fix for encoding support for CLISP and OpenMCL (encoding still not
      working correctly).
      
      OpenMCL fix from Risto Laakso.
      
      darcs-hash:cfadd8aec3489fe4a085f2d3781dd13c5936218c
      3439a855
  8. Dec 19, 2005
    • emarsden's avatar
      [pg @ 2005-12-19 22:21:50 by emarsden] · 6129fd6a
      emarsden authored
      Fix the SB-ROTATE-BYTE dependency for SBCL (was loaded twice, with
      unfortunate consequences).
      
      Add support for unix-socket connections to the backend for SBCL.
      
      (Thanks to Andreas Fuchs)
      
      darcs-hash:05cb2a519fdd72ffabda336b5e10b942b437fb57
      6129fd6a
    • emarsden's avatar
      [pg @ 2005-12-19 22:18:32 by emarsden] · b0a17f1c
      emarsden authored
      Fix sockets for recent ABCL versions.
      
      Modify the client-encoding code to work with multiple implementations
      (incomplete testing).
      
      darcs-hash:d6167b9b0a85f5c7367d7fee7b2ce9d3a8c3d961
      b0a17f1c
  9. Oct 18, 2005
    • pvaneynde's avatar
      [pg @ 2005-10-18 13:07:27 by pvaneynde] · 9b899499
      pvaneynde authored
      Modified sbcl unicode support, works for me.
      Moved requires into asdf package, otherwise we get asdf package problems, unknown if it works with other lisps
      
      darcs-hash:033df81cf627c24fdcd34df9adab60e10377fd4c
      9b899499
  10. Jul 17, 2005
    • emarsden's avatar
      [pg @ 2005-07-17 15:46:32 by emarsden] · 237b460b
      emarsden authored
      Use the updated MD5 code, that operates on octet arrays rather than
      strings.
      
      darcs-hash:bde42a8e54d275e9eda02c5739ce30eb4f539d59
      237b460b
    • emarsden's avatar
      [pg @ 2005-07-17 13:46:50 by emarsden] · b6cc021f
      emarsden authored
      Three fixes from Björn Lindberg <d95-bli@nada.kth.se>:
      
         - Two trivial bugs with regards to use with Allegro
      
         - Handling of the special timestamp values infinity and -infinity. They
           gave an error, but now returns the symbols :INFINITY and :-INFINITY
           respectively.
      
         - A bug in the version 3 of the protocol, where it would return NIL for
           fields in the database containing the empty string, rather than an
           empty string.
      
      darcs-hash:504e8e152c17d5b4a0d4aa402c8fe52e71647eef
      b6cc021f
  11. May 04, 2005
  12. Aug 11, 2004
  13. Apr 01, 2004
    • emarsden's avatar
      [pg @ 2004-04-01 18:35:19 by emarsden] · 62b1b80f
      emarsden authored
      - add md5 authentication (thanks to Brian Mastenbrook). Uses Pierre Mai's
          portable md5.lisp library, that has been added to the project (with extra
          EVAL-WHENness to please OpenMCL and ACL).
      
          Tested with CMUCL, SBCL, OpenMCL, CLISP, ACL 6.1. ABCL does not compile
          md5.lisp, probably for more EVAL-WHEN reasons. Only tested with PostgreSQL
          version 7.4.
      
      darcs-hash:76581bd5b619a8e593164743a8ff044357c680cb
      62b1b80f
  14. Mar 17, 2004
    • emarsden's avatar
      [pg @ 2004-03-17 18:13:10 by emarsden] · c444095f
      emarsden authored
      - changes for Armed Bear Lisp: change to new API for binary socket
         streams; autoload a working FORMAT
      
      darcs-hash:3d3084bba5d1542f6c1200c0ff7cbae4439c7c62
      c444095f
  15. Mar 08, 2004
    • emarsden's avatar
      [pg @ 2004-03-08 18:12:45 by emarsden] · b72984c9
      emarsden authored
      - improvements to the system-dependent functionality: OpenMCL is
          able to use a local connection to the backend; most
          implementations resignal connection errors as a postgres-error.
      
        - fixes to the lowlevel code
      
      darcs-hash:81350b160619ff22468166aa3f1928c8f75d9b7e
      b72984c9
  16. Mar 05, 2004
    • emarsden's avatar
      [pg @ 2004-03-05 18:08:08 by emarsden] · e981262b
      emarsden authored
      Integrate Peter Van Eynde's v3 protocol support:
      
         - create PGCON-V2 and PGCON-V3 classes
         - PG-CONNECT attempts to connect using v3 protocol, and falls back
           to v2 protocol for older backends; return a PGCON-V2 or PGCON-V3
           object
         - PG-EXEC and FN and PG-DISCONNECT are generic functions that
           dispatch on the connection type
         - protocol code split into v2-protocol.lisp and v3-protocol.lisp
      
      TBD: cleaning up the notification & error reporting support, and
      factorizing more code between the two protocol versions.
      
      Also split code out into multiple files:
      
         - large-object support
         - metainformation about databases
         - parsing and type coercion support
         - utility functions and macros
      
      darcs-hash:00b6e900f7b48953d959f95e55c26ecee52efb37
      e981262b
  17. Mar 03, 2004