Reverting done. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp
>> Tatsuo Ishii <is...@postgresql.org> writes: >>> The multi-byte regression tests (src/test/regress/mb) have been broken >>> for sometime due to a warning message regarding hash index usage "hash >>> indexes are not WAL-logged and their use is discouraged" (the messages >>> are different from version to version). >> >>> Attached is a patch to fix the problem for master branch and >>> REL9_5_STABLE. >> >> Isn't this simply a reversion of efc1610b64b04e7cf08cc1d6c608ede8b7d5ff07? >> What led you to make that change in the first place? > > Ouch, I forgot about the commit efc1610b64b04e7cf08cc1d6c608ede8b7d5ff07. > In short, the commit was wrong as Tom Lane pointed out later on: > ---------------------------------------------------------------- > Subject: Re: [COMMITTERS] pgsql: Fix broken multibyte regression tests. > From: Tom Lane <t...@sss.pgh.pa.us> > To: Tatsuo Ishii <is...@postgresql.org> > cc: pgsql-committ...@postgresql.org > Date: Sat, 28 Nov 2015 13:55:09 -0500 > Comments: In-reply-to Tatsuo Ishii <is...@postgresql.org> message dated > "Sun, 09 Aug 2015 02:09:25 -0000" > > Tatsuo Ishii <is...@postgresql.org> writes: >> Fix broken multibyte regression tests. >> commit 9043Fe390f4f0b4586cfe59cbd22314b9c3e2957 broke multibyte >> regression tests because the commit removes the warning message when >> temporary hash indexes is created, which has been added by commit >> 07af523870bcfe930134054febd3a6a114942e5b. > >> Back patched to 9.5 stable tree. > > AFAICT this patch was incorrect and should be reverted, because the > src/test/mb tests all fail for me, in both HEAD and 9.5, as a consequence > of getting hash-index WARNINGs that are not in the expected-files. The > commit you mention (which is 9043ef390f4f0b4586cfe59cbd22314b9c3e2957 not > what's cited in this commit message) disabled the WARNING for temporary > and unlogged hash indexes, but the indexes created by the test scripts > are neither. > > Please recheck it. > > regards, tom lane > ---------------------------------------------------------------- > He is absolutely right here and I should have noticed earlier. So, > >> Isn't this simply a reversion of efc1610b64b04e7cf08cc1d6c608ede8b7d5ff07? >> What led you to make that change in the first place? > > Yes, the patch is for reverting efc1610b64b04e7cf08cc1d6c608ede8b7d5ff07. > > My appolgy for the wrong commit. > > Best regards, > -- > Tatsuo Ishii > SRA OSS, Inc. Japan > English: http://www.sraoss.co.jp/index_en.php > Japanese:http://www.sraoss.co.jp > > > -- > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers