Re: Patch: UNNEST (and other functions) WITH ORDINALITY

From: David Fetter <david(at)fetter(dot)org>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch: UNNEST (and other functions) WITH ORDINALITY
Date: 2013-06-17 05:33:44
Message-ID: 20130617053344.GA19441@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 08, 2013 at 01:12:15PM -0800, David Fetter wrote:
> On Tue, Jan 22, 2013 at 10:29:43PM -0800, David Fetter wrote:
> > Folks,
> >
> > Please find attached a patch which implements the SQL standard
> > UNNEST() WITH ORDINALITY. It doesn't stop there. Any function call
> > in a FROM clause can now take WITH ORDINALITY, which appends a counter
> > (ordinality) column to the columns the function outputs and produce
> > results like this:
>
> Next revision of the patch, now with more stability. Thanks, Andrew!

Rebased vs. git master.

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Attachment Content-Type Size
ordinality_07.diff text/plain 85.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2013-06-17 05:36:55 Re: FILTER for aggregates [was Re: Department of Redundancy Department: makeNode(FuncCall) division]
Previous Message Jon Nelson 2013-06-17 04:53:21 Re: fallocate / posix_fallocate for new WAL file creation (etc...)