Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)
Дата
Msg-id 12501.1364221706@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)  (Brendan Jurd <direvus@gmail.com>)
Ответы Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
Brendan Jurd <direvus@gmail.com> writes:
> On 26 March 2013 00:30, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> No, it *isn't* a good idea.  GUCs that change application-visible
>> semantics are dangerous.  We should have learned this lesson by now.

> They are?

Yeah, they are, because things break when they're set wrong.

Sometimes we have to have one anyway, but AFAICS this patch is just
proposing to change corner cases that most apps don't hit.  I think
we'd be better off without a knob for it.
        regards, tom lane



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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Limiting setting of hint bits by read-only queries; vacuum_delay
Следующее
От: Brendan Jurd
Дата:
Сообщение: Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)