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

From Michael Paquier
Subject Re: Hash index creation warning
Date
Msg-id CAB7nPqS6Z6SP8aTHNDbEOPpiRTvni2HiX-UqPOfXaDhXf982Sg@mail.gmail.com
Whole thread Raw
In response to Re: Hash index creation warning  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Hash index creation warning  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Wed, Jun 24, 2015 at 12:27 AM, Robert Haas wrote:
> I think you should be testing RelationNeedsWAL(), not the
> relpersistence directly.  The same point applies for temporary
> indexes.

Indeed. Patch updated attached.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pg_rewind failure by file deletion in source server
Next
From: Andres Freund
Date:
Subject: Re: pg_stat_*_columns?