Re: BUG #5727: Indexes broken in streaming replication

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jan Kantert" <jan-postgres(at)kantert(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5727: Indexes broken in streaming replication
Date: 2010-10-26 17:35:59
Message-ID: 28419.1288114559@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Jan Kantert" <jan-postgres(at)kantert(dot)net> writes:
> After we created the index again, we saw strange problems on the slave:

> master=# CREATE INDEX index_user_lower_login ON users USING hash
> (lower(login::text));

Hash indexes are not replicated. There's seldom any very good reason to
use them in practice, because they also have no WAL protection and don't
perform very well anyway. Why did you pick a hash index for a
production application?

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2010-10-26 17:38:13 Re: BUG #5727: Indexes broken in streaming replication
Previous Message Jan Kantert 2010-10-26 17:04:37 BUG #5727: Indexes broken in streaming replication