Обсуждение: PL/Perlu - list of columns

Поиск
Список
Период
Сортировка

PL/Perlu - list of columns

От
Sid
Дата:
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