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

From: Darren Duncan <darren(at)darrenduncan(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)
Date: 2013-03-26 01:03:56
Message-ID: 5150F3FC.9060901@darrenduncan.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2013.03.25 5:55 PM, Craig Ringer wrote:
> On 03/25/2013 10:28 PM, Tom Lane wrote:
>> Yeah, they are, because things break when they're set wrong.
> They also make debugging and support harder; you need to get an
> ever-growing list of GUC values from the user to figure out what their
> query does. bytea_output, standard_conforming_strings, etc. Yick.
>
> That said, I don't have a better answer for introducing non-BC changes.

Given the general trouble GUC values cause, is there a plan to deprecate and
remove each of the existing ones over time? As long as post-removal there isn't
any actual loss of functionality, but users might have to change their code to
do it "the one true way", that would seem a good thing. -- Darren Duncan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Darren Duncan 2013-03-26 01:10:28 Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)
Previous Message Craig Ringer 2013-03-26 00:55:20 Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)