On Mon, Sep 26, 2011 at 8:50 AM, Gregg Jaskiewicz <gryzman@xxxxxxxxx> wrote: > Thanks Merin. > > It does, and that's probably what I'll do. Your solution isn't great > either, because it requires extra function to be run on the postgresql > side. Me no likeey that ;) If you are sending a bytea as encoded text, you have to call a decoding function on the server side no matter what -- it's implicitly done for you some cases though. the decode() route is x-version and guarantees hex method of transfer, not the old escaped method which is stupid and slow. The only way to not send encoded text is via binary switch in the protocol...not sure if libpqxx supports this method of execution. merlin -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general