| 1 |
=== Version 0.22, 2006-09-23 =========================================== |
| 2 |
|
| 3 |
- improved support for character encodings; see variable |
| 4 |
*PG-CLIENT-ENCODING* (UTF8 encoding tested with SBCL and CLISP |
| 5 |
with PostgreSQL 8.1). |
| 6 |
|
| 7 |
- fixes to the support for prepared statements (or "execution plans"; |
| 8 |
see the README for details of the API) on the v3 frontend/backend |
| 9 |
protocol. |
| 10 |
|
| 11 |
- on CL implementations that support Unix sockets, the HOST argument |
| 12 |
to PG-CONNECT may designate the directory containing the local |
| 13 |
PostgreSQL unix socket (often "/var/run/postgresql/"). The HOST |
| 14 |
argument is assumed to designate a local directory rather than a |
| 15 |
hostname when its first character is #\/. You may need to modify |
| 16 |
authentication options in the PostgreSQL configuration file |
| 17 |
pg_hba.conf to allow connections over a unix-domain socket where |
| 18 |
the databse username is not equal to your ident tokens. This is an |
| 19 |
incompatible change to previous support for unix-domain sockets |
| 20 |
with CMUCL (previously a HOST of NIL told pg-dot-lisp to connect |
| 21 |
to a unix-domain socket whose name was hardwired into the library). |
| 22 |
This support currently exists for SBCL, CMUCL and OpenMCL. |
| 23 |
|
| 24 |
- many other bugfixes |
| 25 |
|
| 26 |
|
| 27 |
=== Version 0.21, 2003-05-05 =========================================== |
| 28 |
|
| 29 |
- added support for the v3 frontend/backend protocol, used by |
| 30 |
PostgreSQL version 7.4 and up (thanks for Peter Van Eynde). |
| 31 |
pg-dot-lisp will attempt to connect to your database server using |
| 32 |
the new protocol, and upon failure will reconnect using the older |
| 33 |
protocol. To avoid this once-per-connection overhead if you know |
| 34 |
you're only using older PostgreSQL versions, use PG-CONNECT/V2 |
| 35 |
instead of PG-CONNECT. |
| 36 |
|
| 37 |
- split out functionality into more files |
| 38 |
|
| 39 |
- added preliminary support for character encodings, for when the |
| 40 |
encoding used by PostgreSQL for TEXT data differs from that used |
| 41 |
by the Common Lisp implementation for strings. |
| 42 |
|
| 43 |
|
| 44 |
=== Version 0.20 (unreleased) ========================================== |
| 45 |
|
| 46 |
- added more tests for BOOLEAN types, to check the handling of |
| 47 |
PostgreSQL errors (violation of an integrity constraint leads to an |
| 48 |
error of type PG:BACKEND-ERROR being signaled). For CMUCL users who |
| 49 |
use the multiprocessing support, there's a test that runs several data |
| 50 |
producers and a consumer in different threads. |
| 51 |
|
| 52 |
- error condition names (POSTGRESQL-ERROR, AUTHENTICATION-FAILURE, |
| 53 |
BACKEND-ERROR are now exported from the PG package. |
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
=== Version 0.19, 2003-10-10 =========================================== |
| 58 |
|
| 59 |
- new multi-file organization: split out the system-dependent parts |
| 60 |
and the tests into separate files. An ASDF system description is |
| 61 |
provided in the file pg.asd. |
| 62 |
|
| 63 |
- change to WITH-PG-TRANSACTION: the previous version would abort the |
| 64 |
current transaction upon encountering an error, which made |
| 65 |
debugging difficult. The new version (thanks to Daniel Barlow) |
| 66 |
maintains the transaction open until you have exited the debugger. |
| 67 |
|
| 68 |
- support for connecting to PostgreSQL using a local socket instead |
| 69 |
of using TCP/IP, when you're on the same host as the backend. To |
| 70 |
enable, use a NIL host argument to PG-CONNECT. This makes it |
| 71 |
possible to connect to the database without enabling TCP/IP |
| 72 |
connections in the backend ("-i" option), and (depending on the |
| 73 |
access configuration parameters specified in pg_hba.conf) possibly |
| 74 |
without supplying a password. This is currently only supported for |
| 75 |
CMUCL and SBCL. |
| 76 |
|
| 77 |
- parser support for the INTERVAL type (you get this by subtracting |
| 78 |
two timestamps). They are coerced by pg-dot-lisp to a number of |
| 79 |
seconds, represented in floating point. |
| 80 |
|
| 81 |
- new configuration variable *PG-CLIENT-ENCODING*, that supports |
| 82 |
client-side encoding of text data, as per |
| 83 |
<http://www.postgresql.org/docs/7.3/static/multibyte.html>. |
| 84 |
Function PG-CLIENT-ENCODING, and corresponding setf |
| 85 |
function, that allows you to retrieve and modify the current client |
| 86 |
encoding. |
| 87 |
|
| 88 |
- new configuration variable *PG-DATE-STYLE* that allows you to |
| 89 |
change the style in which date types are printed. Function |
| 90 |
PG-DATE-STYLE that allows you to retrieve (and modify via its SETF |
| 91 |
function) the current backend's date style. |
| 92 |
|
| 93 |
- CMUCL: loading the file cmucl-install-subsystem.lisp (as a user who |
| 94 |
has write access to the directory where CMUCL is installed) will |
| 95 |
cause this package to be installed as a CMUCL "subsystem", that can |
| 96 |
thereafter be loaded by saying "(require :pg)". |
| 97 |
|
| 98 |
- SBCL: fix for new sb-bsd-sockets |
| 99 |
|
| 100 |
- support for a new Common Lisp implementation, Armed Bear Lisp for |
| 101 |
the JVM |
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
=== Version 0.18, 2003-06-01 ============================================ |
| 107 |
|
| 108 |
- Fix for parsing of TIMESTAMP fields in PostgreSQL 7.3, thanks to |
| 109 |
James Anderson. These can now contain timezone and millisecond |
| 110 |
fields. |
| 111 |
|