On Sun, 2007-09-09 at 23:33 -0400, Andrew Dunstan wrote:
> Tom Lane wrote:
> > In the short run it might be best to do it in scan.l after all.
> >
>
> I have not come up with a way of doing that and handling the bytea case.
> If you have I'm all ears. And then I am still worried about COPY.
If it's done in the scanner it should still accept things like: E'\\377\\000\\377'::bytea
right?
I think the concern is when they use only one slash, like: E'\377\000\377'::bytea
which, as I mentioned before, is not correct anyway.
Regards,Jeff Davis