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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brendan Jurd <direvus(at)gmail(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)
Date: 2013-03-25 14:28:26
Message-ID: 12501.1364221706@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Brendan Jurd <direvus(at)gmail(dot)com> writes:
> On 26 March 2013 00:30, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Brendan Jurd 2013-03-25 14:33:43 Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)
Previous Message Merlin Moncure 2013-03-25 14:26:24 Re: Limiting setting of hint bits by read-only queries; vacuum_delay