From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Catalin Iacob <iacobcatalin(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Adam Brightwell <adam(dot)brightwell(at)crunchydatasolutions(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, dinesh kumar <dineshkumar02(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: proposal: multiple psql option -c |
Date: | 2016-02-08 06:55:45 |
Message-ID: | CAFj8pRD-HVXC4M++dp90f80bvUQHhvN+TOjqS8Bg3bvCLGN0cQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2016-02-05 2:35 GMT+01:00 Peter Eisentraut <peter_e(at)gmx(dot)net>:
> On 12/29/15 10:38 AM, Bruce Momjian wrote:
> > On Thu, Dec 10, 2015 at 11:10:55AM -0500, Robert Haas wrote:
> >> On Wed, Dec 9, 2015 at 12:15 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
> >>>> On Wed, Dec 9, 2015 at 2:07 PM, Pavel Stehule <
> pavel(dot)stehule(at)gmail(dot)com>
> >>>> wrote:
> >>>>> should be noted, recorded somewhere so this introduce possible
> >>>>> compatibility
> >>>>> issue - due default processing .psqlrc.
> >>>>
> >>>> That's written in the commit log, so I guess that's fine.
> >>>
> >>> ook
> >>
> >> Bruce uses the commit log to prepare the release notes, so I guess
> >> he'll make mention of this.
> >
> > Yes, I will certainly see it.
>
> I generally use the master branch psql for normal work, and this change
> has caused massive breakage for me. It's straightforward to fix, but in
> some cases the breakage is silent, for example if you do
> something=$(psql -c ...) and the .psqlrc processing causes additional
> output. I'm not sure what to make of it yet, but I want to mention it,
> because I fear there will be heartache.
>
We can still introduce some system environment, that disable psqlrc globally
PGNOPSQLRC=1 psql ...
Regards
Pavel
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2016-02-08 06:58:49 | Re: Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby |
Previous Message | kharagesuraj | 2016-02-08 05:58:21 | Re: Support for N synchronous standby servers - take 2 |