Skip site navigation (1) Skip section navigation (2)

How to get binary data from pgsql function

From: "MaksimRomanov" <MaksimRomanov(at)mail(dot)ru>
To: <pgsql-interfaces(at)postgresql(dot)org>, <pgsql-sql(at)postgresql(dot)org>
Subject: How to get binary data from pgsql function
Date: 2002-07-29 13:47:59
Message-ID: 001401c23706$8cfc6d80$1201a8c0@virton.local (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-sql
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.

pgsql-interfaces by date

Next:From: William WestDate: 2002-07-29 14:06:16
Subject: Still "Stalled"? ECPG - varchar in struct?
Previous:From: Denis ChavezDate: 2002-07-28 04:04:53
Subject: Kerberos authentication with libpgtcl

pgsql-sql by date

Next:From: Milosz KrajewskiDate: 2002-07-29 14:50:29
Subject: How to optimize SQL query ?
Previous:From: Elielson FontaneziDate: 2002-07-29 11:57:12
Subject: RES: [SQL] RES: set DateStyle to 'SQL'

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group