From: MaksimRomanov <MaksimRomanov@mail.ru>
To: pgsql-interfaces@postgresql.org
To: pgsql-sql@postgresql.org
Subject: How to get binary data from pgsql function
Date: Mon, 29 Jul 2002 16:47:59 +0300
Message-ID: <001401c23706$8cfc6d80$1201a8c0@virton.local> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: MaksimRomanov@mail.ru, pgsql-sql@postgresql.org
Subject: Re: How to get binary data from pgsql function
In-Reply-To: <001401c23706$8cfc6d80$1201a8c0@virton.local>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox