PL/Perlu - list of columns

Started by Sidover 15 years ago1 messagesgeneral
Jump to latest
#1Sid
sid.the.technician@gmail.com

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