Commit Graph

11 Commits

Author SHA1 Message Date
Martin Wilke bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Philip M. Gollucci bcc0626319 PostgreSQL 8.3.1 has changed it's bytea encoding.
* in PostgreSQL 8.3.1 Release note
Make encode(bytea, 'escape') convert all high-bit-set byte values into \nnn octal escape sequences (Tom)

This is necessary to avoid encoding problems when the database encoding is multi-byte. This change could pose compatibility issues for applications that are expecting specific results from encode.

but pyPgSQL escape bytea encode as it's own implementments. PostgreSQL says that it may make failure(see PQescapeBytea documentation).

in PQescapeBytea function documentation:
"The only difference from PQescapeByteaConn is that PQescapeBytea does not take a PGconn parameter. Because of this, it cannot adjust its behavior depending on the connection properties (in particular, whether standard-conforming strings are enabled) and therefore it might give the wrong results. Also, it has no way to return an error message on failure."

Patch is included upstream already

PR:             ports/122616
Submitted by:   "Choe, Cheng-Dae" <whitekid@gmail.com>
2010-09-10 04:18:06 +00:00
Rong-En Fan 23749ec2f6 - Update to 2.5.1
Approved by:	delphij (mentor, implicit)
2006-07-08 05:29:20 +00:00
Pav Lucistnik aa1836b7e9 - Add SHA256 2005-11-24 01:23:57 +00:00
Trevor Johnson 8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +00:00
Daichi GOTO 22d1252750 update databases/py-pyPgSQL: 2.3 -> 2.4
PR:		55084
Submitted by:	Gerhard Haering <gh@ghaering.de>
2003-07-31 06:50:03 +00:00
Ying-Chieh Liao 1fa008a4fe upgrade to 2.3
PR:		46099
Submitted by:	maintainer
2003-01-02 19:28:46 +00:00
Ying-Chieh Liao 39d5845adf - update port to pyPgSQL 2.2
- updated maintainer email address
- use REINPLACE instead of PERL

PR:		42560
Submitted by:	maintainer
2002-09-16 13:57:56 +00:00
Patrick Li d61caae2d6 Update to 2.1
--
also make a cosmetic change
space -> tabs
INSTALL_MAN -> INSTALL_DATA for installing port docs
perl -> ${PERL}

PR:		39051
Submitted by:	maintainer
2002-06-09 16:06:47 +00:00
Neil Blakey-Milner c144bdadd9 Update of the py-pyPGSQL port to version 2.0.
PR:		ports/31887
Submitted by:	Gerhard Häring <gerhard@bigfoot.de> (maintainer)
2001-11-10 07:01:33 +00:00
Neil Blakey-Milner cd4c2a4e4b Add pyPgSQL, a Python DB-API 2 compliant library for using PostgreSQL
databases

PR:		31705
Submitted by:	Gerhard Häring <gerhard@bigfoot.de>
2001-11-02 15:00:28 +00:00