Bug #727: Can I get a PGresult * ptr. back from an epcg interface. - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #727: Can I get a PGresult * ptr. back from an epcg interface.
Date
Msg-id 20020731204154.64A2C47514F@postgresql.org
Whole thread Raw
List pgsql-bugs
Walt Cobb (walt_cobb@cinmach.com) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Can I get a PGresult * ptr. back from an epcg interface.

Long Description
I am porting an Oracle application to Postgres.  The old application used an imbedded SQL interface.  I was trying to
staywith that and since Postgres doesn't support an SQLDA structure, I was going to write code to create/fill it
myself. I wanted to use the Postgres C calls to gather the info, but I can't use them without the PGresult* argument.
 
Is there any way to get at the PGresult* pointer if I have launched an imbedded SQL query?

Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: nconway@klamath.dyndns.org (Neil Conway)
Date:
Subject: Re: share lib libpq++
Next
From: Tatsuo Ishii
Date:
Subject: Re: Multi-byte character bug