Bug #727: Can I get a PGresult * ptr. back from an epcg interface.

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #727: Can I get a PGresult * ptr. back from an epcg interface.
Date: 2002-07-31 20:41:54
Message-ID: 20020731204154.64A2C47514F@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Walt Cobb (walt_cobb(at)cinmach(dot)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 stay with 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

Browse pgsql-bugs by date

  From Date Subject
Next Message Tatsuo Ishii 2002-08-01 03:41:43 Re: Multi-byte character bug
Previous Message Paul Redd-LaFlamme 2002-07-31 20:14:43 Re: Bug #726: PHP/PG ERROR: parser: parse error at or near ","