From: | Noah Misch <noah(at)leadboat(dot)com> |
---|---|
To: | Dmitry Dolgov <9erthalion6(at)gmail(dot)com> |
Cc: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Arthur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>, Robert Haas <robertmhaas(at)gmail(dot)com> |
Subject: | Re: fix psql \conninfo & \connect when using hostaddr |
Date: | 2019-06-12 07:45:48 |
Message-ID: | 20190612074548.GD271415@rfd.leadboat.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Jun 11, 2019 at 01:59:20PM +0200, Dmitry Dolgov wrote:
> > On Tue, Jun 11, 2019 at 6:46 AM Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> wrote:
> > > Although I guess it can be avoided by `-reuse-previous=off`, probably it
> > > makese sense to update the docs.
> >
> > Yep, that is one option. The other is to revert or alter the subtle
> > change, but ISTM that it made sense in some use case, so I wanted some
> > time to think about it and test.
>
> Sure, no one argue that the behaviour should be changed, it's only about the
> documentation part.
No, I was arguing that a behavior should revert back its v11 behavior:
\connect mydb myuser myhost
-- should resolve "myhost" again, like it did in v11
\connect
\connect "dbname=mydb host=myhost hostaddr=127.0.0.1"
-- ok to reuse hostaddr=127.0.0.1; I agree that's a feature
\connect
From | Date | Subject | |
---|---|---|---|
Next Message | Dmitry Dolgov | 2019-06-12 07:48:50 | Re: fix psql \conninfo & \connect when using hostaddr |
Previous Message | Etsuro Fujita | 2019-06-12 07:30:26 | Re: BEFORE UPDATE trigger on postgres_fdw table not work |