Re: Patch: UNNEST (and other functions) WITH ORDINALITY - Mailing list pgsql-hackers

From David Fetter
Subject Re: Patch: UNNEST (and other functions) WITH ORDINALITY
Date
Msg-id 20130208211215.GO2054@fetter.org
Whole thread Raw
In response to Patch: UNNEST (and other functions) WITH ORDINALITY  (David Fetter <david@fetter.org>)
Responses Re: Patch: UNNEST (and other functions) WITH ORDINALITY  (David Fetter <david@fetter.org>)
List pgsql-hackers
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!

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.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

pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: sepgsql and materialized views
Next
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Clean up c.h / postgres.h after Assert() move