Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iIsT8-000735-4k for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Oct 2019 10:48:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iIsT6-0001fC-8V for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Oct 2019 10:48:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iIsT5-0001ez-SO for pgsql-hackers@lists.postgresql.org; Fri, 11 Oct 2019 10:48:20 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iIsT3-0002rm-3E for pgsql-hackers@postgresql.org; Fri, 11 Oct 2019 10:48:18 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1473:f520:76e5:bff:fef3:7e00]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 46qPnB4MR6z3DxD; Fri, 11 Oct 2019 12:48:14 +0200 (CEST) Date: Fri, 11 Oct 2019 12:48:14 +0200 From: Christoph Berg To: Thomas Munro Cc: Peter Eisentraut , Pg Hackers Subject: Re: Collation versioning Message-ID: <20191011104813.GA14059@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Thomas Munro , Peter Eisentraut , Pg Hackers References: <20180905191014.GA29241@msg.df7cb.de> <4b76c6d4-ae5e-0dc6-7d0d-b5c796a07e34@2ndquadrant.com> <7c039a8a-2be4-b4f3-48d2-c5c7d24dd98b@2ndquadrant.com> <2df246f1-a1f5-8344-9100-be53736f68c0@2ndquadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: Thomas Munro 2019-10-11 > While testing pg_upgrade scenarios I noticed that initdb-created > collations' versions are not preserved, potentially losing track of > information about corrupted indexes. That's a preexisting condition, > and probably well understood, but it made me realise that if we switch > to per-database object (for example: per index) version tracking as > mentioned up-thread, then we should probably preserve that information > across pg_upgrade. That would make much sense, yes. The whole problem is already complex enough, if we add another "but if you use pg_upgrade, you still need to do the tracking manually" footnote, users will be very confused. Christoph