Re: pgsql: Add regression tests for CSV and \., and add automatic quoting of

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pgsql: Add regression tests for CSV and \., and add automatic quoting of
Дата
Msg-id 3440.24.211.165.134.1135773359.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на pgsql: Add regression tests for CSV and \., and add automatic quoting of  (momjian@postgresql.org (Bruce Momjian))
Ответы Re: pgsql: Add regression tests for CSV and \., and add  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-committers
Bruce Momjian said:
> Log Message:
> -----------
> Add regression tests for CSV and \., and add automatic quoting of a
> single column dump that has a \. value, so the load works properly.  I
> also added documentation describing this issue.
>

This seems unnecessarily elaborate, in code that is already byzantine. I
think we can safely quote *any* field that has \. regardless of whether or
not it is a singleton. There's no need to make a single column a special
case - if it's valid for a singleton it's valid for any, and vice versa.

cheers

andrew



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

Предыдущее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Add regression tests for CSV and \., and add automatic quoting of
Следующее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: pgsql: Add regression tests for CSV and \., and add automatic quoting of