Re: DBD::Pg, bytea, nulls

2003-06-16 Thread Toby Corkindale
On Sun, Jun 15, 2003 at 07:06:32PM +0100, Kate L Pugh wrote: > The postgres docs at > > > http://www.postgresql.org/docs/view.php?version=7.3&idoc=1&file=datatype-binary.html > > tell me that nulls ("\0") need to be escaped when used as part of a > string literal. DBD::Pg seems not to escape

Re: DBD::Pg, bytea, nulls

2003-06-15 Thread Kate L Pugh
On Sun 15 Jun 2003, Kate L Pugh <[EMAIL PROTECTED]> wrote: > The postgres docs [...] tell me that nulls ("\0") need to be > escaped when used as part of a string literal. DBD::Pg seems not to > escape them for me though: [...] I grabbed David Wheeler on IRC and he explained to me how to make this

DBD::Pg, bytea, nulls

2003-06-15 Thread Kate L Pugh
The postgres docs at http://www.postgresql.org/docs/view.php?version=7.3&idoc=1&file=datatype-binary.html tell me that nulls ("\0") need to be escaped when used as part of a string literal. DBD::Pg seems not to escape them for me though: ---