From: Bruce Momjian <bruce@momjian.us>
To: digoal@126.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13645: pg_basebackup backup hash index & unlogged table
Date: Sun, 4 Oct 2015 21:37:41 -0400
Message-ID: <20151005013741.GA6797@momjian.us> (raw)
In-Reply-To: <20150928061524.1448.39027@wrigleys.postgresql.org>
References: <20150928061524.1448.39027@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Mon, Sep 28, 2015 at 06:15:24AM +0000, digoal@126.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 13645
> Logged by: digoal
> Email address: digoal@126.com
> PostgreSQL version: 9.4.4
> Operating system: CentOS 6.x x64
> Description:
>
> HI,
> Hash index and unlogged table don't generate XLOG record, when we use
> pg_basebackup's backup datafile & xlog archive recovery database, unlogged
> table datafile will purged, and hash index also has unconsistent data page.
> Why pg_basebackup not filter the hash index datafile & unlogged table
> datafile, these file waste net band and backup file's capcity.
We will issue a warning in 9.5 when hash indexes are created. I am not
sure why we don't filter out hash indexed and unlogged tables.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Roman grave inscription +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, digoal@126.com
Subject: Re: BUG #13645: pg_basebackup backup hash index & unlogged table
In-Reply-To: <20151005013741.GA6797@momjian.us>
References: <20150928061524.1448.39027@wrigleys.postgresql.org> <20151005013741.GA6797@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox