Re: byteain bug(?) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: byteain bug(?)
Date
Msg-id 200109070424.f874OEQ25507@candle.pha.pa.us
Whole thread Raw
In response to Re: byteain bug(?)  ("Joe Conway" <joseph.conway@home.com>)
List pgsql-hackers
> > > It checks for a '\' followed by three digits, but does not attempt to
> > > enforce that the three digits actually produce a valid octal number.
> Anyone
> > > object to me fixing this?
> > >
> 
> Based on the thread this morning on patches, I was thinking we should allow
> '\\', '\0', or '\###' where ### is any valid octal. At least that's what I
> was going to have decode(bytea, 'escape') handle.

Yep, it is way too open right now.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: "Joe Conway"
Date:
Subject: Re: byteain bug(?)
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] Conditional NOTIFY is not implemented