Re: Bug fix for psql's meta-command \ev

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Ryoga Yoshida <bt23yoshidar(at)oss(dot)nttdata(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Bug fix for psql's meta-command \ev
Date: 2023-09-15 05:26:16
Message-ID: ZQPq+JI9mHKKTS4j@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Sep 15, 2023 at 11:37:46AM +0900, Ryoga Yoshida wrote:
> I think this is a bug in psql's \ev meta-command. Even when \ev fails, it
> should not leave the garbage string in psql's query buffer and the following
> query should be completed successfully.

Right. Good catch. Will look at that a bit more to see if the resets
are correctly placed, particularly in light of \ef.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2023-09-15 05:58:47 Re: CHECK Constraint Deferrable
Previous Message Michael Paquier 2023-09-15 05:20:59 Re: Have better wording for snapshot file reading failure