Re: Error message

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Error message
Date: 2021-03-16 05:35:54
Message-ID: CAKFQuwbbLGBXXuKTfzjyXuUDdCTCGCqHyYrGrVeXoO1NrGh77A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2021-03-16 05:56:13 Re: Error message
Previous Message Igor Korot 2021-03-16 05:27:30 Error message