Re: 7.3.3 array_out tweak

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 7.3.3 array_out tweak
Дата
Msg-id 9064.1059401512@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 7.3.3 array_out tweak  (Thien-Thi Nguyen <ttn@glug.org>)
Ответы Re: 7.3.3 array_out tweak  (Thien-Thi Nguyen <ttn@glug.org>)
Список pgsql-general
Thien-Thi Nguyen <ttn@glug.org> writes:
> regarding previous grousing regarding array output not being
> consistently quoted, what do you think of the following patch?
> it jams `nq' when the `typbyval' is not `true' on the presumption
> that typbyval is a good way to distinguish numeric/non-numeric.

That was what the pre-7.2 coding did, and it was broken.  Types abstime
and "char" are counterexamples in one direction, and float8 and numeric
are counterexamples in the other.  (And that's not even considering
user-defined datatypes.)  We are not going back to that.

            regards, tom lane

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: psql -e
Следующее
От: "Aspire"
Дата:
Сообщение: Re: Jabber Interface