Re: Hash index creation warning - Mailing list pgsql-hackers

From Thom Brown
Subject Re: Hash index creation warning
Date
Msg-id CAA-aLv7G5aZu3eUT0s275qdavnh7bDmEUQHeEyQoN+rr_SJKPA@mail.gmail.com
Whole thread Raw
In response to Re: Hash index creation warning  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Hash index creation warning  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
On 18 October 2014 at 15:36, Bruce Momjian <bruce@momjian.us> wrote:
> On Fri, Oct 17, 2014 at 02:36:55PM -0400, Bruce Momjian wrote:
>> On Fri, Oct 17, 2014 at 12:56:52PM -0400, Tom Lane wrote:
>> > David G Johnston <david.g.johnston@gmail.com> writes:
>> > > The question is whether we explain the implications of not being WAL-logged
>> > > in an error message or simply state the fact and let the documentation
>> > > explain the hazards - basically just output:
>> > > "hash indexes are not WAL-logged and their use is discouraged"
>> >
>> > +1.  The warning message is not the place to be trying to explain all the
>> > details.
>>
>> OK, updated patch attached.
>
> Patch applied.

I only just noticed this item when I read the release notes.  Should
we bother warning when used on an unlogged table?

-- 
Thom



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: On columnar storage
Next
From: Michael Nolan
Date:
Subject: Re: On columnar storage