bytea escaping - Mailing list pgsql-hackers

From Tom Lane
Subject bytea escaping
Date
Msg-id 13683.998965311@sss.pgh.pa.us
Whole thread Raw
In response to Re: Upcoming events  ("Joe Conway" <joseph.conway@home.com>)
List pgsql-hackers
"Joe Conway" <joseph.conway@home.com> writes:
> ... is there a good reason that byteaout
> octal escapes all non-printable characters?

Well, AFAICS it *has to* escape nulls (zero bytes).  Whether it escapes
more stuff is a matter of taste once you accept that.

What we really need to have to make bytea more useful is direct read and
write functions that don't require any escaping (a la large object
lo_read/lo_write).
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: RE: Upcoming events
Next
From: Tom Lane
Date:
Subject: Re: Upcoming events