Обсуждение: How to get binary data from pgsql function

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

How to get binary data from pgsql function

От
"MaksimRomanov"
Дата:
Hi
 
    I want to return miltiplie row data from stored procedure in binary format; I use "libpq++" DLL for access to PostgreSql and I want to take binary data from pointer returned by PgDatabase::GetData(int,int).
    I have found only one way to receive binary data from backend - to use  "DECLARE BINARY CURSOR" statement - but I don't know way to use this statement with plpgsql function;
   Is there any deccision?
 
Thanks.