Re: psql - add special variable to reflect the last query status

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql - add special variable to reflect the last query status
Date: 2017-05-22 19:33:34
Message-ID: alpine.DEB.2.20.1705222132250.25440@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>> Please find attached a v2 which hopefully takes into account all your
>> points above.
>>
>> Open question: should it gather more PQerrorResultField, or the two
>> selected one are enough? If more, which should be included?
>
>
> I don't think so it is necessary. No in this moment. ERROR_CODE and
> ERROR_MESSAGE are fundamental - and if we add other, then we should to add
> all. Has not sense to add only some.

Ok. I'm fine with stopping at CODE & MESSAGE.

--
Fabien.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2017-05-22 19:48:25 Re: psql - add special variable to reflect the last query status
Previous Message Nikita Glukhov 2017-05-22 19:19:37 Re: PATCH: recursive json_populate_record()