Search Postgresql Archives

PL/Perlu - list of columns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux