Changelog
cl-pg (1:20061216-2) unstable; urgency=low
* Upload to unstable.
cl-pg (1:20061216-1) experimental; urgency=low
* New upstream. Major changes:
+ Don't flush the network stream in SEND-PACKET, because it slows down
API calls that have multiple SEND-PACKET calls in them. From
<email address hidden>.
+ Fix numeric parser for negative numbers. From
<email address hidden>
+ Make sure we consume the ReadyForQuery packet that is generated when
closing a prepared statement or portal, or the packet can be
misinterpreted by a later query, leading to data loss. Fix from Robert J.
Macomber.
+ Add an ABORT keyword argument to PG-DISCONNECT (from Robert J.
Macomber <email address hidden>), 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)."
+ 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 <email address hidden>)
* upload to experimental during the freeze
-- Ubuntu Archive Auto-Sync <email address hidden> Fri, 18 May 2007 09:30:25 +0100