Re: lbound1 default in buildint2vector/buildoidvector

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kohei KaiGai <kaigai(at)heterodb(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: lbound1 default in buildint2vector/buildoidvector
Date: 2018-11-15 03:41:02
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Kohei KaiGai <kaigai(at)heterodb(dot)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.

regards, tom lane

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2018-11-15 04:38:55 Re: ATTACH/DETACH PARTITION CONCURRENTLY
Previous Message Richard Guo 2018-11-15 03:36:34 Re: Pull up sublink of type 'NOT NOT (expr)'