Re: Support UTF-8 files with BOM in COPY FROM

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Support UTF-8 files with BOM in COPY FROM
Дата
Msg-id 1317133297.10184.1.camel@fsopti579.F-Secure.com
обсуждение исходный текст
Ответ на Re: Support UTF-8 files with BOM in COPY FROM  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Support UTF-8 files with BOM in COPY FROM
Список pgsql-hackers
On mån, 2011-09-26 at 21:49 +0300, Peter Eisentraut wrote:
> If I store a BOM in row 1, column 1 of my table, because,
> well, maybe it's an XML document or something, then it needs to be
> able to survive a copy out and in.  The only way we could proceed with
> this would be if we prohibited BOMs in all user-data. 

Alternative consideration: We could allow this in CSV format if we made
users quote the first value if it starts with a BOM.  This might be a
reasonable way to get MS compatibility.



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: the big picture for index-only scans
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Postgresql parser