From: Tom Lane <tgl@sss.pgh.pa.us>
To: depesz@depesz.com
Cc: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [GENERAL] pg_upgrade problem
Date: Tue, 06 Sep 2011 16:36:35 -0400
Message-ID: <20829.1315341395@sss.pgh.pa.us> (raw)
In-Reply-To: <20110906111358.GA24613@depesz.com>
References: <201109052104.p85L4Wx11935@momjian.us>
<15262.1315257960@sss.pgh.pa.us>
<20110906103222.GA20760@depesz.com>
<20110906111358.GA24613@depesz.com>
hubert depesz lubaczewski <depesz@depesz.com> writes:
> Worked a bit to get the ltree problem down to smallest possible, repeatable, situation.
I looked at this again and verified that indeed, commit
8eee65c996048848c20f6637c1d12b319a4ce244 introduced an incompatible
change into the on-disk format of ltree columns: it widened
ltree_level.len, which is one component of an ltree on disk.
So the crash is hardly surprising. I think that the only thing
pg_upgrade could do about it is refuse to upgrade when ltree columns
are present in an 8.3 database. I'm not sure though how you'd identify
contrib/ltree versus some random user-defined type named ltree.
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, depesz@depesz.com, bruce@momjian.us, pgsql-hackers@postgresql.org
Subject: Re: [GENERAL] pg_upgrade problem
In-Reply-To: <20829.1315341395@sss.pgh.pa.us>
References: <201109052104.p85L4Wx11935@momjian.us> <15262.1315257960@sss.pgh.pa.us> <20110906103222.GA20760@depesz.com> <20110906111358.GA24613@depesz.com> <20829.1315341395@sss.pgh.pa.us>
* 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