Re: Error message

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(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:56:13
Message-ID: CA+FnnTxKQZUxwH+udptTvPeK=BVXSJN_cpG=-zP6M=uz_t55bA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thx, David.
I need to get some sleep. ;-)

On Tue, Mar 16, 2021 at 12:35 AM David G. Johnston
<david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
>
> 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

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Anderson 2021-03-16 07:33:03 Re: WAL-files is not removing authomaticaly
Previous Message David G. Johnston 2021-03-16 05:35:54 Re: Error message