From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz> |
Cc: | Florian Pflug <fgp(at)phlo(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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-03 16:21:38 |
Message-ID: | CAFj8pRDrBjK4mTT-v+LYsaeo4XrZ+juV3t+Tqb4W2KpwB-JZ=Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>
>> Pavel
>>
>> ALOGOL 60 was zero based by default, as I remember deliberately
>> setting the lower bound to 1, I managed to avoid PASCAL and I only glanced
>> at ADA.
>>
>
>
> http://en.wikipedia.org/wiki/Comparison_of_programming_languages_%28array%29
>
>
In Pascal and similar languages (Wirth family) is possible to define lower
bound - any value (like PL/pgSQL). Depends on a school - but lot of people
used 1.
I remember - it was one argument for in Pascal/C flame war.
Regards
Pavel
> Regards
>
>
>
Pavel
>
>
>>
>>
>> Cheers,
>> Gavin
>>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2013-04-03 16:30:59 | Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL) |
Previous Message | Pavel Stehule | 2013-04-03 16:16:48 | Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL) |