Error message

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Error message
Date: 2021-03-16 05:27:30
Message-ID: CA+FnnTxFXgq4Q=7g9jvpi8o8D_mhgkH7Ub7y05+1W0rvPGE3Eg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2021-03-16 05:35:54 Re: Error message
Previous Message Rafal Pietrak 2021-03-15 22:24:21 Re: Fwd: row level security (RLS)