From ced87373cdf22e0c47fa96458424863be9b6a214 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 24 Nov 2015 13:16:46 +0900 Subject: [PATCH] Remove hint about hash indexes entirely. Anyone needing them, particularly in a replication context, should know what they're doing anyway. See also: http://www.postgresql.org/docs/current/interactive/sql-createindex.html#AEN74175 "Also, changes to hash indexes are not replicated over streaming or file-based replication after the initial base backup, so they give wrong answers to queries that subsequently use them. For these reasons, hash index use is presently discouraged." --- repmgr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/repmgr.c b/repmgr.c index 4adf87b3..59b20685 100644 --- a/repmgr.c +++ b/repmgr.c @@ -1939,9 +1939,6 @@ do_standby_promote(void) log_notice(_("STANDBY PROMOTE successful\n")); - /* XXX this is probably misleading */ - log_hint(_("You should REINDEX any hash indexes you have.\n")); - /* Log the event */ create_event_record(conn, &options,