From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
Cc: | PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: psql - add special variable to reflect the last query status |
Date: | 2017-06-19 03:55:26 |
Message-ID: | CAFj8pRCz9r2DjjD84Ga_uaoMJYoQoW+-rsuH0pfertpnN9LnGg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2017-06-17 7:58 GMT+02:00 Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>:
>
> I have not any other comments. The implementation is trivial. I rerun all
>> tests and tests passed.
>>
>> I'll mark this patch as ready for commiters.
>>
>
> Oops, I just noticed a stupid confusion on my part which got through, I
> was setting "ERROR" as "success", inverting the expected boolean value.
>
> Here is a fixed version.
I missed it too.
We can introduce macro SetVariableBool(vars, varname, bool) instead
SetVariable(pset.vars, "ERROR", "FALSE");
Regards
Pavel
>
>
> --
> Fabien.
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2017-06-19 03:58:36 | Re: proposal psql \gdesc |
Previous Message | Tatsuo Ishii | 2017-06-19 03:11:04 | REPLICA IDENTITY FULL |