PL/Perlu - list of columns

Поиск
Список
Период
Сортировка
От Sid
Тема PL/Perlu - list of columns
Дата
Msg-id AANLkTilmUAlZQWWxHVpFqia1C9PXIIieNjkt1ekQtYl_@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi,

I'am writing pl/perlu function, it executes some query using spi_exec_query.
What I want is to get list of fields even when query does not return any rows.
Now I get this:
 {
          'status' => 'SPI_OK_SELECT',
          'processed' => 0,
          'rows' => []
}
Is there any way to get structure similar to dbi : $stmt->{'TYPE'}?

--
Best regards
Sid

В списке pgsql-general по дате отправления:

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Fedora 13 killed dblink this week...
Следующее
От: Martin Gainty
Дата:
Сообщение: Re: NASA needs Postgres - Nagios help