On Fri, Jul 28, 2017 at 06:52:44PM +0200, Christoph Zwerschke <[email protected]>
wrote:
> Am 26.07.2017 um 23:49 schrieb Oleg Broytman:
> > Shouldn't unescape_bytea(escape_bytea()) be idempotent?
>
> See https://www.postgresql.org/docs/9.6/static/libpq-exec.html
>
> "PQunescapeBytea is not exactly the inverse of PQescapeBytea, because the
> string is not expected to be "escaped" when received from PQgetvalue. In
> particular this means there is no need for string quoting considerations,
> and so no need for a PGconn parameter."
I see. Thank you!
> -- Chris
Oleg.
--
Oleg Broytman http://phdru.name/ [email protected]
Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql