> Should be fixed. I noticed this myself. Should we require three digits?
> > I just noticed some unexpected behavior from byteain:
> > test=# select '\\009'::bytea;
> > ?column?
> > ----------
> > \011
> > (1 row)
> > It checks for a '\' followed by three digits, but does not attempt to
> > enforce that the three digits actually produce a valid octal number.
> > 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.
In response to
pgsql-hackers by date
|Next:||From: Bruce Momjian||Date: 2001-09-07 04:24:14|
|Subject: Re: byteain bug(?)|
|Previous:||From: tomas||Date: 2001-09-07 04:10:01|
|Subject: Re: Conditional NOTIFY is not implemented|