/[pg]/pg/sysdep.lisp
ViewVC logotype

Log of /pg/sysdep.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.19 - (view) (annotate) - [select for diffs]
Sun Nov 19 18:47:59 2006 UTC (7 years, 5 months ago) by emarsden
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +7 -5 lines
Diff to previous 1.18 , to selected 1.9
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>)

Revision 1.18 - (view) (annotate) - [select for diffs]
Sun Oct 22 19:22:39 2006 UTC (7 years, 5 months ago) by emarsden
Branch: MAIN
Changes since 1.17: +0 -1 lines
Diff to previous 1.17 , to selected 1.9
Code cleanups.

Revision 1.17 - (view) (annotate) - [select for diffs]
Sat Sep 30 16:51:12 2006 UTC (7 years, 6 months ago) by emarsden
Branch: MAIN
Changes since 1.16: +19 -9 lines
Diff to previous 1.16 , to selected 1.9
Add unix-domain socket support for Allegro CL (tested with Express
edition for Linux/x86).

Revision 1.16 - (view) (annotate) - [select for diffs]
Sun Sep 24 15:50:18 2006 UTC (7 years, 6 months ago) by emarsden
Branch: MAIN
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 , to selected 1.9
Disabling buffering of the socket stream on CLISP greatly improves performance.

Revision 1.15 - (view) (annotate) - [select for diffs]
Sat Sep 23 12:24:28 2006 UTC (7 years, 6 months ago) by emarsden
Branch: MAIN
Changes since 1.14: +49 -56 lines
Diff to previous 1.14 , to selected 1.9
- 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.

Revision 1.14 - (view) (annotate) - [select for diffs]
Mon Sep 18 21:33:10 2006 UTC (7 years, 7 months ago) by emarsden
Branch: MAIN
Changes since 1.13: +13 -13 lines
Diff to previous 1.13 , to selected 1.9
Make comparison in IMPLEMENTATION-NAME-FOR-ENCODING case-insensitive
(from ya007@yandex.ru).

Revision 1.13 - (view) (annotate) - [select for diffs]
Fri Jan 27 18:03:39 2006 UTC (8 years, 2 months ago) by emarsden
Branch: MAIN
Changes since 1.12: +11 -13 lines
Diff to previous 1.12 , to selected 1.9
Fix for encoding support for CLISP and OpenMCL (encoding still not
working correctly).

OpenMCL fix from Risto Laakso.

Revision 1.12 - (view) (annotate) - [select for diffs]
Mon Dec 19 22:21:50 2005 UTC (8 years, 4 months ago) by emarsden
Branch: MAIN
Changes since 1.11: +23 -20 lines
Diff to previous 1.11 , to selected 1.9
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)

Revision 1.11 - (view) (annotate) - [select for diffs]
Mon Dec 19 22:18:32 2005 UTC (8 years, 4 months ago) by emarsden
Branch: MAIN
Changes since 1.10: +66 -25 lines
Diff to previous 1.10 , to selected 1.9
Fix sockets for recent ABCL versions.

Modify the client-encoding code to work with multiple implementations
(incomplete testing).

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue Oct 18 13:07:27 2005 UTC (8 years, 6 months ago) by pvaneynde
Branch: MAIN
Changes since 1.9: +2 -8 lines
Diff to previous 1.9
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

Revision 1.9 - (view) (annotate) - [selected]
Sun Jul 17 15:46:32 2005 UTC (8 years, 9 months ago) by emarsden
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8
Use the updated MD5 code, that operates on octet arrays rather than
strings.

Revision 1.8 - (view) (annotate) - [select for diffs]
Sun Jul 17 13:46:50 2005 UTC (8 years, 9 months ago) by emarsden
Branch: MAIN
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 , to selected 1.9
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.

Revision 1.7 - (view) (annotate) - [select for diffs]
Wed May 4 20:51:35 2005 UTC (8 years, 11 months ago) by pvaneynde
Branch: MAIN
Changes since 1.6: +14 -1 lines
Diff to previous 1.6 , to selected 1.9
possible sbcl unicode fix

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Aug 11 13:27:48 2004 UTC (9 years, 8 months ago) by emarsden
Branch: MAIN
Changes since 1.5: +39 -1 lines
Diff to previous 1.5 , to selected 1.9
add a file that does a manual load of pg

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Apr 1 18:35:19 2004 UTC (10 years ago) by emarsden
Branch: MAIN
Changes since 1.4: +14 -2 lines
Diff to previous 1.4 , to selected 1.9
  - 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.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Mar 17 18:13:10 2004 UTC (10 years, 1 month ago) by emarsden
Branch: MAIN
Changes since 1.3: +9 -3 lines
Diff to previous 1.3 , to selected 1.9
 - changes for Armed Bear Lisp: change to new API for binary socket
   streams; autoload a working FORMAT

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Mar 8 18:12:45 2004 UTC (10 years, 1 month ago) by emarsden
Branch: MAIN
Changes since 1.2: +47 -53 lines
Diff to previous 1.2 , to selected 1.9
  - 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

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Mar 5 18:08:08 2004 UTC (10 years, 1 month ago) by emarsden
Branch: MAIN
Changes since 1.1: +7 -2 lines
Diff to previous 1.1 , to selected 1.9
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

Revision 1.1.1.1 - (view) (annotate) - [select for diffs] (vendor branch)
Wed Mar 3 13:11:50 2004 UTC (10 years, 1 month ago) by emarsden
Branch: clnet
CVS Tags: release-0-20, start
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.19 , to selected 1.9
initial import

Revision 1.1 - (view) (annotate) - [select for diffs]
Wed Mar 3 13:11:50 2004 UTC (10 years, 1 month ago) by emarsden
Branch: MAIN
Branch point for: clnet
Diff to selected 1.9
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5