From: SourceForge.net <no...@so...> - 2008-04-10 04:53:22
|
Patches item #1939119, was opened at 2008-04-10 13:53 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=316528&aid=1939119&group_id=16528 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Choe, Cheng-Dae (whitekid) Assigned to: Nobody/Anonymous (nobody) Summary: fix for PgBytea quote uses PQespcaeByteaConn Initial Comment: PgBytes quote the value using internal implementation. But. The bytea escaping make different by connection property. and PostgreSQL 8.3.1 make some modify on escaping bytea escaping method In release note 8.3.1 "Make encode(bytea, 'escape') convert all high-bit-set byte values into \nnn octal escape sequences (Tom) " Becase of above thing. current implementation was make some error on Bytea escaping. This patch add libPQquoteByteaConn(libpqmodule.c) and use this method to encode Bytea type. If you use this patch. pleas use PgBytea type with connection like as PgBytea(value, conn) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=316528&aid=1939119&group_id=16528 |