Move WAL warning - Mailing list pgsql-hackers

From Magnus Hagander
Subject Move WAL warning
Date
Msg-id AANLkTik+6bvUq=qhv8Xwe4ow99gH4MVzshF-DF=Wr64D@mail.gmail.com
Whole thread Raw
Responses Re: Move WAL warning  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
When running pg_basebackup with -x to include all transaction log, the
server will still throw a warning about xlog archiving if it's not
enabled - that is completely irrelevant since pg_basebackup has
included it already (and if it was gone, the base backup step itself
will fail - actual error and not warning).

This patch moves the warning from do_pg_base_backup to pg_base_backup,
so it still shows when using the explicit function calls, but goes
away when using pg_basebackup.

Objections?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: SSI patch version 14
Next
From: Dimitri Fontaine
Date:
Subject: Re: ALTER EXTENSION UPGRADE, v3