Re: lbound1 default in buildint2vector/buildoidvector - Mailing list pgsql-hackers

From Kohei KaiGai
Subject Re: lbound1 default in buildint2vector/buildoidvector
Date
Msg-id CAOP8fzbixeFZ_xdzmqK8jU=--E-BGnfFJ8B1+XdSq_WGrnJ6Lg@mail.gmail.com
Whole thread Raw
In response to Re: lbound1 default in buildint2vector/buildoidvector  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
2018年11月15日(木) 12:41 Tom Lane <tgl@sss.pgh.pa.us>:
>
> Kohei KaiGai <kaigai@heterodb.com> writes:
> > I noticed buildint2vector / buildoidvector assigns lbound1=0 as default
> > value, but array type shall have lbound1=1 in the default.
> > Is there some reasons for the difference?
>
> Backwards compatibility.
>
Ah, yes, I got the point.

--
HeteroDB, Inc / The PG-Strom Project
KaiGai Kohei <kaigai@heterodb.com>


pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: doc fix for pg_stat_activity.backend_type
Next
From: Andrey Borodin
Date:
Subject: Re: Connections hang indefinitely while taking a gin index's LWLock buffer_content lock