Re: no quotes in arrays in 7.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: no quotes in arrays in 7.2
Дата
Msg-id 7122.1016656784@sss.pgh.pa.us
обсуждение исходный текст
Ответ на no quotes in arrays in 7.2  (Peter Keller <peter.keller@bvv.bayern.de>)
Список pgsql-general
Peter Keller <peter.keller@bvv.bayern.de> writes:
> Only using a comma as a separator is not very good, because the text in the
> array can contain commas, so seperating can get impossible.

If there are any commas then the value will be quoted.

> Is the new output a bug?

I don't think so.  The point was to avoid quoting numeric elements while
fixing the extremely broken rule that array_out used to use to decide
whether to quote or not.  The new rule is to look at the text to decide
if it needs any quotes.

            regards, tom lane

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: ERROR:B heap_delete: (am)invalid tid
Следующее
От: Tom Lane
Дата:
Сообщение: Re: dbase restore