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-06-17 05:58:06
Message-ID: alpine.DEB.2.20.1706170753390.26795@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> 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.

--
Fabien.

Attachment Content-Type Size
psql-result-status-3.patch text/x-diff 7.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2017-06-17 06:55:03 Typos in comments
Previous Message Amit Kapila 2017-06-17 03:46:08 Re: Getting server crash on Windows when using ICU collation