PL/Perlu - list of columns - Mailing list pgsql-general

From Sid
Subject PL/Perlu - list of columns
Date
Msg-id AANLkTilmUAlZQWWxHVpFqia1C9PXIIieNjkt1ekQtYl_@mail.gmail.com
Whole thread Raw
List 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 by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: Fedora 13 killed dblink this week...
Next
From: Martin Gainty
Date:
Subject: Re: NASA needs Postgres - Nagios help