diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-09-10 12:18:06 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-09-10 12:18:06 +0800 |
commit | 09af3e5f7c0e5330077b4132950fba338f385e67 (patch) | |
tree | 77263f8aed85fa2a9bf13bf278019cae8e1f0dec /databases/py-pyPgSQL/distinfo | |
parent | c32e2ca82ed1d366663046365e3ea4ad8e4f71e0 (diff) | |
download | freebsd-ports-graphics-09af3e5f7c0e5330077b4132950fba338f385e67.tar.gz freebsd-ports-graphics-09af3e5f7c0e5330077b4132950fba338f385e67.tar.zst freebsd-ports-graphics-09af3e5f7c0e5330077b4132950fba338f385e67.zip |
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>
Diffstat (limited to 'databases/py-pyPgSQL/distinfo')
-rw-r--r-- | databases/py-pyPgSQL/distinfo | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/databases/py-pyPgSQL/distinfo b/databases/py-pyPgSQL/distinfo index 7c8da503a60..7cc86380120 100644 --- a/databases/py-pyPgSQL/distinfo +++ b/databases/py-pyPgSQL/distinfo @@ -1,3 +1,6 @@ MD5 (pyPgSQL-2.5.1.tar.gz) = 82670f6f1652aa4766fdaec2cb43debd SHA256 (pyPgSQL-2.5.1.tar.gz) = 498486f066f11a68f5b02a54ba5a008d01d507038c873bfd901c14d3f5ca18af SIZE (pyPgSQL-2.5.1.tar.gz) = 152840 +MD5 (pyPgSQL-patch_byteaconn) = 97744f64d06efcba79aa13f4dee9c076 +SHA256 (pyPgSQL-patch_byteaconn) = 73a324808aef49382e736245023eb8c468e1ca0803052a2a45162465b0ad28d7 +SIZE (pyPgSQL-patch_byteaconn) = 4718 |