From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | Euler Taveira <euler(at)timbira(dot)com(dot)br> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: v12 and pg_restore -f- |
Date: | 2019-10-09 12:45:05 |
Message-ID: | 20191009124505.GT6962@tamriel.snowman.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Greetings,
* Euler Taveira (euler(at)timbira(dot)com(dot)br) wrote:
> Em ter, 8 de out de 2019 às 15:08, Stephen Frost <sfrost(at)snowman(dot)net> escreveu:
> > * Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> > > Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> writes:
> > > > "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> > > > Tom> Perhaps we could change the back branches so that they interpret
> > > > Tom> "-f -" as "write to stdout", but without enforcing that you use
> > > > Tom> that syntax.
> > >
> > > > We should definitely do that.
> >
> > I agree that this would be a reasonable course of action. Really, it
> > should have always meant that...
> >
> Indeed, it was a broken behavior and the idea was to fix it. However,
> changing pg_restore in back-branches is worse than do nothing because
> it could break existent scripts.
I can certainly respect that argument, in general, but in this specific
case, I've got a really hard time believeing that people wrote scripts
which use '-f -' with the expectation that a './-' file was to be
created.
Thanks,
Stephen
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2019-10-09 13:31:22 | Re: GSSAPI: logging principal |
Previous Message | Bob Jolliffe | 2019-10-09 12:40:50 | Re: Allowing client access |
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2019-10-09 12:50:18 | Re: Standby accepts recovery_target_timeline setting? |
Previous Message | Stephen Frost | 2019-10-09 12:42:53 | Re: Standby accepts recovery_target_timeline setting? |