public inbox for [email protected]
help / color / mirror / Atom feedFrom: David CARLIER <[email protected]>
To: [email protected]
Subject: libpq, connection error - question
Date: Thu, 17 Apr 2025 19:05:51 +0100
Message-ID: <CA+XhMqzSx8rEn6EgZV-uxd6HCC6PZwVoW7hSJdXL3Qts5wSmLg@mail.gmail.com> (raw)
Hi,
in case of PQconnectdb call failure, is it possible to get SQLstate code
such as 28P01 and if yes in which circumstance(s) ? I can t seem to get it
from PQerrorMessage.
Thanks in advance.
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: libpq, connection error - question
In-Reply-To: <CA+XhMqzSx8rEn6EgZV-uxd6HCC6PZwVoW7hSJdXL3Qts5wSmLg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox