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

From Adrian Klaver
Subject Re: get column name passed to a function
Date
Msg-id 50AC02CC.6080906@gmail.com
Whole thread Raw
In response to get column name passed to a function  ("Rhys A.D. Stewart" <rhys.stewart@gmail.com>)
Responses Re: get column name passed to a function  ("Rhys A.D. Stewart" <rhys.stewart@gmail.com>)
List pgsql-general
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: Adrian Klaver
Date:
Subject: Re: timezone, how postgres deal with it?
Next
From: "Kevin Grittner"
Date:
Subject: Re: 9.2 streaming replication issue and solution strategy