Re: Some questions about the array.

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: YUriy Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Some questions about the array.
Date: 2015-12-02 20:01:29
Message-ID: CAHyXU0xuQdVqBpy+qv8BU7O+NfVY-O1a71BitBVNrV0nfWLteA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Dec 1, 2015 at 8:46 AM, YUriy Zhuravlev
<u(dot)zhuravlev(at)postgrespro(dot)ru> wrote:
> On Tuesday 01 December 2015 08:38:21 you wrote:
>> it (zero
>> based indexing support) doesn't meet the standard of necessity for
>> adding to the core API and as stated it's much to magical.
>
> We do not touch the arrays, we simply create a function to access them with a
> comfortable behavior. Creating a separate array types in the form extension is
> very difficult IMHO.

Correct; what I'm saying is that we don't need core API support for
zero based array indexing. A hypothetical extension could give 100%
function based support for that so that equivalents to all functions
are given: array_upper, array_lower, etc etc etc. You are correct
that it could not implement alternative syntactical array features.

merlin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Konstantin Knizhnik 2015-12-02 20:18:16 Re: Logical replication and multimaster
Previous Message Alvaro Herrera 2015-12-02 19:33:50 Re: Re: In-core regression tests for replication, cascading, archiving, PITR, etc.