On Monday, March 15, 2021, Igor Korot <ikorot01(at)gmail(dot)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.