Error message
Hi, ALL,
Documentation for PQprepare states:
[quote]
As with PQexec, the result is normally a PGresult object whose
contents indicate server-side success or failure. A null result
indicates out-of-memory or inability to send the command at all. Use
PQerrorMessage to get more information about such errors.
[/quote]
But this function is not the same as PQexec().
So what does it return if it succeeds?
Thank you.
On Monday, March 15, 2021, Igor Korot <ikorot01@gmail.com> wrote:
[quote]
As with PQexec, the result is normally a PGresult object whose
contents indicate server-side success or failure. A null result
indicates out-of-memory or inability to send the command at all. Use
PQerrorMessage to get more information about such errors.
[/quote]But this function is not the same as PQexec().
So what does it return if it succeeds?
Exactly what the syntax line and that first sentence says it does, a
PGresult.
David J.
Thx, David.
I need to get some sleep. ;-)
On Tue, Mar 16, 2021 at 12:35 AM David G. Johnston
<david.g.johnston@gmail.com> wrote:
Show quoted text
On Monday, March 15, 2021, Igor Korot <ikorot01@gmail.com> wrote:
[quote]
As with PQexec, the result is normally a PGresult object whose
contents indicate server-side success or failure. A null result
indicates out-of-memory or inability to send the command at all. Use
PQerrorMessage to get more information about such errors.
[/quote]But this function is not the same as PQexec().
So what does it return if it succeeds?
Exactly what the syntax line and that first sentence says it does, a PGresult.
David J.