| From: | Peter Geoghegan <pg(at)heroku(dot)com> |
|---|---|
| To: | David Fetter <david(at)fetter(dot)org> |
| Cc: | Jim Nasby <jim(at)nasby(dot)net>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Disallow arrays with non-standard lower bounds |
| Date: | 2014-01-09 23:55:16 |
| Message-ID: | CAM3SWZTE7wZZg2idPTdHz7tNGBb3_kRp1340eBk_8ijqHyst+Q@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Jan 9, 2014 at 3:41 PM, David Fetter <david(at)fetter(dot)org> wrote:
> We have dropped support, as you put it, for bigger and harder-hitting
> mistakes than this. Anybody whose code has this kind of silliness in
> it will be in other kinds of trouble, too.
While the decision to make it possible to set the lower bound index
value arbitrarily was made before I was active in the project, I
imagine it went something like this:
Person 1: We should make our arrays similar to those found in a
certain proprietary system's standard procedural language - with one
as a lower bound.
Person 2: I don't like that, it should always be zero.
Person 1: We can all be winners.
--
Peter Geoghegan
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Merlin Moncure | 2014-01-10 00:20:34 | Re: array_length(anyarray) |
| Previous Message | Gavin Flower | 2014-01-09 23:51:09 | Re: Disallow arrays with non-standard lower bounds |