Re: get column name passed to a function - Mailing list pgsql-general

From Rhys A.D. Stewart
Subject Re: get column name passed to a function
Date
Msg-id CACg0vTkqQkdjtO4=KYeSSgMsDxjxsZKPfr+Y2eFosyLAZO5=Aw@mail.gmail.com
Whole thread Raw
In response to Re: get column name passed to a function  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: get column name passed to a function  (Adrian Klaver <adrian.klaver@gmail.com>)
List pgsql-general
Feature request?

Could it be shoved in before 9.2.2 or 9.2.3?


On Tue, Nov 20, 2012 at 5:23 PM, Adrian Klaver <adrian.klaver@gmail.com> wrote:
On 11/20/2012 01:34 PM, Rhys A.D. Stewart wrote:
bummer.

No, not dynamic queries just wanted to have the name of the columns
along with the column data. Literally just like xmlforest, but without
the xml.

Well in pl/pythonu you can, if you use the plpy module:

http://www.postgresql.org/docs/9.2/interactive/plpython-database.html


Thanks,

Rhys



--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: Restore postgres to specific time
Next
From: Adrian Klaver
Date:
Subject: Re: get column name passed to a function