Re: invalidly encoded strings

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: invalidly encoded strings
Дата
Msg-id 1189396353.5924.35.camel@jdavis
обсуждение исходный текст
Ответ на Re: invalidly encoded strings  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: invalidly encoded strings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: invalidly encoded strings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: invalidly encoded strings