Re: [HACKERS] psql - add special variable to reflect the last querystatus - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: [HACKERS] psql - add special variable to reflect the last querystatus
Date
Msg-id alpine.DEB.2.20.1705222132250.25440@lancre
Whole thread Raw
In response to Re: [HACKERS] psql - add special variable to reflect the last query status  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [HACKERS] psql - add special variable to reflect the last query status
List 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.



pgsql-hackers by date:

Previous
From: Nikita Glukhov
Date:
Subject: Re: [HACKERS] PATCH: recursive json_populate_record()
Next
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] psql - add special variable to reflect the last query status