Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aL8iz-00067f-J4 for pgsql-docs@arkaria.postgresql.org; Mon, 18 Jan 2016 12:15:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aL8iz-0006MK-5o for pgsql-docs@arkaria.postgresql.org; Mon, 18 Jan 2016 12:15:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aL8id-0005j9-El for pgsql-docs@postgresql.org; Mon, 18 Jan 2016 12:15:35 +0000 Received: from scalingmail.com ([188.40.112.167]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aL8ia-00014K-CW for pgsql-docs@postgresql.org; Mon, 18 Jan 2016 12:15:34 +0000 Received: from localhost (localhost [127.0.0.1]) by scalingmail.com (Postfix) with ESMTP id 6667D506EBE for ; Mon, 18 Jan 2016 13:15:30 +0100 (CET) Received: from scalingmail.com ([188.40.112.167]) by localhost (scalingmail.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CzL1OPzXnorc for ; Mon, 18 Jan 2016 13:15:29 +0100 (CET) Received: from sm-nb.fritz.box (xdsl-89-0-95-173.netcologne.de [89.0.95.173]) by scalingmail.com (Postfix) with ESMTPSA id 930BC506EBD for ; Mon, 18 Jan 2016 13:15:29 +0100 (CET) From: Seb Mel Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Streaming Replication and Hash Indices Message-Id: <17792594-F751-46ED-BFBD-7FDF9092A6FA@mailz.de> Date: Mon, 18 Jan 2016 13:15:28 +0100 To: pgsql-docs@postgresql.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Hi list, today i got bitten by the issue that streaming replication does not replica= te "hash" indices as those changes are not written to WAL. That fact is doc= umented here: http://www.postgresql.org/docs/current/static/indexes-types.html But i could not find that information anywhere else like: https://wiki.postgresql.org/wiki/Streaming_Replication#Restrictions or http://www.postgresql.org/docs/current/static/warm-standby.html I suppose it would be very helpful to add it there, as the usual policy for= "corrupt slave data" is to recreate the slave from a base_backup which wou= ld make you into thinking that the issue was fixed.=20 That is wrong though, as it will reappear after some time when the data in = the table and the index diverge :)! Regards, Seb --=20 Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs