Re: Some questions about the array. - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Some questions about the array.
Date
Msg-id CA+TgmoapP=S0hmX9J3iLQh5rB86iVA8CEkAye9fMy87mLp3rZw@mail.gmail.com
Whole thread Raw
In response to Re: Some questions about the array.  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: Some questions about the array.  (YUriy Zhuravlev <u.zhuravlev@postgrespro.ru>)
List pgsql-hackers
On Fri, Nov 6, 2015 at 9:44 PM, Jim Nasby <Jim.Nasby@bluetreble.com> wrote:
>> Since the start-pos is recorded in the array, I wonder if it's worth
>> supporting negative indexing for arrays with the default 1-indexed
>> element numbering, and just ERRORing for others. Does anyone really
>> use anything else?
>
> I'd prefer that over using something like ~.

I'm not necessarily objecting to that, but it's not impossible that it
could break something for some existing user.  We can decide not to
care about that, though.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: extend pgbench expressions with functions
Next
From: andres@anarazel.de (Andres Freund)
Date:
Subject: Re: Uh-oh: documentation PDF output no longer builds in HEAD