pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Munro <marc@bloodnok.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [BUGS] BUG #11867: Strange behaviour with composite types after resetting database tablespace
Date: Tue, 04 Nov 2014 08:14:00 -0800
Message-ID: <1415117640.32454.8.camel@bloodnok.com> (raw)
In-Reply-To: <2382.1415070484@sss.pgh.pa.us>
References: <20141104014957.23088.78673@wrigleys.postgresql.org>
	<2382.1415070484@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Mon, 2014-11-03 at 22:08 -0500, Tom Lane wrote:
> <spock>Fascinating.</spock>

:-)

> I believe what is happening is:

[ . . . ]

> > This is not mission-critical for me but I'd be grateful for suggestions for
> > work-arounds.
> 
> 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

Attachments:

  signature.asc (application/pgp-signature, 197B) download

view thread (7+ messages)  latest in thread

Message-ID: <1415117640.32454.8.camel@bloodnok.com>
Permalink:  ../1415117640.32454.8.camel@bloodnok.com/
Also on:    postgresql.org/message-id/1415117640.32454.8.camel@bloodnok.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: marc@bloodnok.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] BUG #11867: Strange behaviour with composite types after resetting database tablespace
  In-Reply-To: <1415117640.32454.8.camel@bloodnok.com>
  References: <20141104014957.23088.78673@wrigleys.postgresql.org> <2382.1415070484@sss.pgh.pa.us> <1415117640.32454.8.camel@bloodnok.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox