From owner-cvs-all@FreeBSD.ORG Fri Sep 10 04:18:07 2010 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 140421065675; Fri, 10 Sep 2010 04:18:07 +0000 (UTC) (envelope-from pgollucci@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 047458FC0C; Fri, 10 Sep 2010 04:18:07 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o8A4I6Kw097118; Fri, 10 Sep 2010 04:18:06 GMT (envelope-from pgollucci@repoman.freebsd.org) Received: (from pgollucci@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o8A4I6s5097117; Fri, 10 Sep 2010 04:18:06 GMT (envelope-from pgollucci) Message-Id: <201009100418.o8A4I6s5097117@repoman.freebsd.org> From: "Philip M. Gollucci" Date: Fri, 10 Sep 2010 04:18:06 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/databases/py-pyPgSQL Makefile distinfo X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2010 04:18:07 -0000 pgollucci 2010-09-10 04:18:06 UTC FreeBSD ports repository Modified files: databases/py-pyPgSQL Makefile distinfo Log: 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" Revision Changes Path 1.20 +11 -1 ports/databases/py-pyPgSQL/Makefile 1.10 +3 -0 ports/databases/py-pyPgSQL/distinfo