Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XlgkV-00047J-2M for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Nov 2014 16:14:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XlgkT-0001qH-PI for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Nov 2014 16:14:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XlgkS-0001q7-RO; Tue, 04 Nov 2014 16:14:24 +0000 Received: from [69.172.163.92] (helo=neddie.bloodnok.com) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XlgkO-0003F8-Mg; Tue, 04 Nov 2014 16:14:22 +0000 Received: by neddie.bloodnok.com (Postfix, from userid 5001) id 8765E5C91D; Tue, 4 Nov 2014 08:14:19 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on neddie.bloodnok.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 Received: from blodnok.com (bloodnok.com [192.168.2.99]) by neddie.bloodnok.com (Postfix) with ESMTP id E5B8C5C8B9; Tue, 4 Nov 2014 08:14:10 -0800 (PST) Received: from [IPv6:::1] (localhost [IPv6:::1]) by blodnok.com (Postfix) with ESMTP id A8D3260555; Tue, 4 Nov 2014 08:14:10 -0800 (PST) Message-ID: <1415117640.32454.8.camel@bloodnok.com> Subject: Re: [BUGS] BUG #11867: Strange behaviour with composite types after resetting database tablespace From: Marc Munro To: Tom Lane Cc: pgsql-bugs@postgresql.org, pgsql-hackers@postgresql.org Date: Tue, 04 Nov 2014 08:14:00 -0800 In-Reply-To: <2382.1415070484@sss.pgh.pa.us> References: <20141104014957.23088.78673@wrigleys.postgresql.org> <2382.1415070484@sss.pgh.pa.us> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-2o8tLx3hAH7ALLLnXwVF" X-Mailer: Evolution 3.4.4-3 Mime-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 69.172.163.92 (failed) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --=-2o8tLx3hAH7ALLLnXwVF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2014-11-03 at 22:08 -0500, Tom Lane wrote: > Fascinating. :-) > I believe what is happening is: [ . . . ] > > This is not mission-critical for me but I'd be grateful for suggestions= for > > work-arounds. >=20 > I don't see any workaround that's much easier than fixing the bug. > But what's your use case that involves flipping databases from one > tablespace to another and then back again within the life expectancy of > unused shared-buffers pages? It doesn't seem terribly surprising that > nobody noticed this before ... It's a completely unreal use case. I am working on a diff tool, and this was found as part of my test suite: build db x, drop db x, build db y, apply diff y->x, compare with original x, apply diff x->y, compare with original y. So this is a fairly minor inconvenience for me. __ Marc --=-2o8tLx3hAH7ALLLnXwVF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlRY+0gACgkQUBr6u+c2wkFzYACfdtWSUALja2rPdxiaQ3i5K35+ 88IAnRQ0HKZUrI0sTB9M9JB480isoHi9 =goFY -----END PGP SIGNATURE----- --=-2o8tLx3hAH7ALLLnXwVF--