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

From: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
To: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>
Cc: "David E(dot) Wheeler" <david(at)kineticode(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Florian Pflug <fgp(at)phlo(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, Brendan Jurd <direvus(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)
Date: 2013-04-04 07:46:57
Message-ID: 515D2FF1.7010701@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2013-04-03 20:58 keltezéssel, Gavin Flower írta:
> On 04/04/13 05:36, David E. Wheeler wrote:
>> On Apr 3, 2013, at 9:30 AM, Tom Lane<tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>
>>> Fortran ... Basic ... actually I'd have thought that zero was a
>>> minority position. Fashions change I guess.
>> I say we turn the default lower bound up to 11.
>>
>> David
>>
>>
> In keeping with the level of irrationality in this thread, maybe we should set it to an
> irrational number like the square root of 2, or transcend our selves and make in a
> transcendental number like pi! :-)
>
> I suppose using the square root of minus one would be consider too imaginative??? :-)

Nah, that would make arrays have 2 dimensions as a minimum... :-)

>
>
> Cheers,
> Gavin

--
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
http://www.postgresql.at/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2013-04-04 09:01:38 Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]
Previous Message Greg Smith 2013-04-04 05:18:39 Re: Patch for checking file parameters to psql before password prompt