Re: [HACKERS] [PATCH] Generic type subscripting

From: Dmitry Dolgov <9erthalion6(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, Oleksandr Shulgin <oleksandr(dot)shulgin(at)zalando(dot)de>, Artur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Oleg Bartunov <obartunov(at)gmail(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, David Steele <david(at)pgmasters(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] [PATCH] Generic type subscripting
Date: 2019-02-19 16:22:57
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-hackers

> On Fri, Feb 1, 2019 at 5:02 PM Dmitry Dolgov <9erthalion6(at)gmail(dot)com> wrote:
> > On Fri, Feb 1, 2019 at 4:55 PM Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote:
> >
> > On 2019-Feb-01, Dmitry Dolgov wrote:
> >
> > > The moment was longer than I expected, but here is the rebased version, where
> > > all the individual patches can be applied and compiled cleanly (although there
> > > is still functional dependency between 0002 and 0003, since the former
> > > introduces a new subscripting without any implementation, and the latter
> > > introduces an implementation for array data type).
> >
> > Cool, pushed 0001. I'm afraid I included some pgindenting, so you'll
> > have to rebase again. Maybe you already know how to do it without
> > manually rebasing, but if not, a quick trick to avoid rebasing manually
> > over all those whitespace changes might be to un-apply with "git show |
> > patch -p1 -R", then apply your original 0001, commit, apply 0002, then
> > pgindent; if you now do a git diff to the original commit, you should
> > get an almost clean diff. Or you could just try to apply with -w.
> Great, thank you!

And here is the rebased version.

Attachment Content-Type Size
v19-0001-Base-implementation-of-subscripting-mechanism.patch application/octet-stream 48.6 KB
v19-0004-Subscripting-documentation.patch application/octet-stream 20.0 KB
v19-0003-Subscripting-for-jsonb.patch application/octet-stream 33.6 KB
v19-0002-Subscripting-for-array.patch application/octet-stream 24.8 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2019-02-19 16:33:18 Re: Some thoughts on NFS
Previous Message Robert Haas 2019-02-19 16:20:41 Re: Some thoughts on NFS