Re: [Solved] Corrupt indexes on slave when using pg_bulkload on master

From: "Takashi Ohnishi" <onishi_takashi_d5(at)lab(dot)ntt(dot)co(dot)jp>
To: <pgsql-general(at)postgresql(dot)org>
Cc: "'James Cowell'" <jcowell(at)btinternet(dot)com>, "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "'Fujii Masao'" <masao(dot)fujii(at)gmail(dot)com>, <sakamotomsh(at)nttdata(dot)co(dot)jp>
Subject: Re: [Solved] Corrupt indexes on slave when using pg_bulkload on master
Date: 2013-04-08 07:59:33
Message-ID: 00c401ce342f$01c4b920$054e2b60$@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, James.

I'm a member of pg_bulkload developer community.
Thank you for the bug report.

Sorry to become late...
We have released the new version of pg_bulkload , 3.1.3 where the reported
bug is fixed.

I hope this new version will help you.

Regards.
++++++++++++
Takashi Ohnishi <onishi_takashi_d5(at)lab(dot)ntt(dot)co(dot)jp>

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Fujii Masao
Sent: Thursday, January 10, 2013 11:51 PM
To: Tom Lane
Cc: James Cowell; pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] [Solved] Corrupt indexes on slave when using
pg_bulkload on master

On Thu, Jan 10, 2013 at 6:51 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> James Cowell <jcowell(at)btinternet(dot)com> writes:
>> But pg_bulkload only puts the index updates into WAL if you also have
>>
>> archive_mode = on
>>
>> I guess it needs to test wal_level rather than archive mode now? It
looks like changes to the project have been minimal for some time, which is
a shame because it's a very useful tool.
>
> Oh, the code in question is in pg_bulkload not the backend? Yeah, it
> sounds like it hasn't tracked some core-code changes. In particular
> you might point the author at
> http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=40f9
> 08bdcdc726fc11912cd95dfd2f89603d1f37#patch10
> which shows how it needs to be done in 9.0 and later.

I reported this problem to the author in offlist. Thanks for the bug report!

Regards,

--
Fujii Masao

--
Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2013-04-08 08:23:10 Re: how to create materialized view in postgresql 8.3
Previous Message Gavin Flower 2013-04-08 07:57:40 Re: how to create materialized view in postgresql 8.3