Re: get column name passed to a function

Поиск
Список
Период
Сортировка
От Rhys A.D. Stewart
Тема Re: get column name passed to a function
Дата
Msg-id CACg0vTkqQkdjtO4=KYeSSgMsDxjxsZKPfr+Y2eFosyLAZO5=Aw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: get column name passed to a function  (Adrian Klaver <adrian.klaver@gmail.com>)
Ответы Re: get column name passed to a function  (Adrian Klaver <adrian.klaver@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Restore postgres to specific time
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: get column name passed to a function