Re: TAP / recovery-test fs-level backups, psql enhancements etc

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: TAP / recovery-test fs-level backups, psql enhancements etc
Date: 2016-03-03 14:51:10
Message-ID: 20160303145110.GA554951@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Craig Ringer wrote:
> On 3 March 2016 at 21:16, Michael Paquier <michael(dot)paquier(at)gmail(dot)com> wrote:

> > > The rest are feature patches:
> > > 004 allows filtering on RecursiveCopy by a predicate function. Needed for
> > > filesystem level backups (007). It could probably be squashed with 007 if
> > > desired.
> >
> > Adding perldoc to this module should be done separately, let's not mix
> > things. Applying a filter is useful as well to remove for example the
> > contents of pg_xlog, so no objections to it.
>
> Eh, ok. I figured it was so trivial it didn't matter, but will split.

Please don't mess with this one.

> > psql_check sounds wrong to me. I thought first that this triggers a
> > test. Why not psql_simple or psql_basic, or just keep psql.
>
> I guess I'm used to Python's subprocess.check_call so to me it's natural.
>
> I want something that makes it clear that failure is a fatal error
> condition, i.e. "do this in psql and if it produces an error, treat it like
> you would any other error in Perl and die appropriately".

Shrug. psql_check seemed reasonable to me for that.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2016-03-03 14:51:27 Re: Improve error handling in pltcl
Previous Message Bert 2016-03-03 14:45:52 Re: On columnar storage (2)