Re: PG 10 release notes

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PG 10 release notes
Date: 2017-05-04 23:28:45
Message-ID: 20170504232845.GD29760@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Apr 27, 2017 at 03:04:57PM +0200, Daniel Verite wrote:
> Fabien COELHO wrote:
>
> > Fix psql \p to always print what would be executed by \g or \w (Daniel
> > Vérité)
> >
> > Previously \p didn't properly print the reverted-to command after a
> > buffer contents reset. CLARIFY?
> >
> > The fix is linked to the change introduced by Tom when
> > refactoring/cleaning up in e984ef586 (\if) which change psql's \p
> > behavior.
>
> That's my recollection as well. The "Previously" does not refer to 9.6,
> but to that commit.

Yes, adjusted.

> > I'm not sure how this should appear in the release notes. Maybe not at
> > all, associated to the feature in which the behavioral change was
> > introduced...
>
> There is small change of behavior coming as a by-product of the
> introduction of /if.../endif blocks.
>
> When doing in 9.x:
>
> select '1st buffer' \g
> followed by \e
> and editing with select '2nd buffer' (without ending the query)
> and then back in psql doing '\r' and '\p', the result is
> select '2nd buffer'
>
> The same with v10 leads instead to
> select '1st buffer'
>
> I'm not sure whether it's above the level of detail worth being mentioned
> in the release notes.

Wow, I am not sure how to even explain that. ;-) Let's see if we get
any user feedback on the change.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2017-05-04 23:31:38 Re: PG 10 release notes
Previous Message Bruce Momjian 2017-05-04 23:26:56 Re: PG 10 release notes