Thread: How to get binary data from pgsql function

How to get binary data from pgsql function

From
"MaksimRomanov"
Date:
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.