From: Bruce Momjian <bruce@momjian.us>
To: Glen Barber <glen.j.barber@gmail.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-testers@postgresql.org
Subject: Re: pg_upgrade and reg* system oid user types
Date: Tue, 3 Aug 2010 14:36:07 -0400 (EDT)
Message-ID: <201008031836.o73Ia7026565@momjian.us> (raw)
In-Reply-To: <4C586014.7030900@gmail.com>
Glen Barber wrote:
> On 8/3/10 2:19 PM, Bruce Momjian wrote:
> > Josh Berkus wrote:
> >> On 8/3/10 10:07 AM, Glen Barber wrote:
> >>> Hi,
> >>>
> >>> I think it might be worth mentioning in the release notes (unless I've
> >>> missed it, of course) that, with the addition of
> >>> check_for_reg_data_type_usage(), pg_upgrade will error if it finds, for
> >>> example, tsearch data from pre-8.3 in user tables.
> >>>
> >>> Otherwise, pg_upgrade has worked wonderfully for me - thanks again for
> >>> bringing it into contrib.
> >>
> >> Good to hear. Problem report forwarded to Bruce.
> >
> > I was wondering if users were storing text search reg* data types in
> > their user tables. Is this common? Why only pre-8.3?
> >
>
> The database I am using in testing 9.0 is a development database which
> mimics our production environment as closely as it can. This particular
> data has been through several PostgreSQL upgrades, beginning with 7.4,
> if I remember correctly. The reg* data types in user tables is from
> before tsearch functionality was added to core.
OK, good to know. I am hoping that isn't something that many people
have in their databases. We can fix the reg* migration, but it is too
late for 9.0 and fixing it will require additional code in the backend
that we would prefer to avoid.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
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-testers@postgresql.org
Cc: bruce@momjian.us, glen.j.barber@gmail.com, josh@agliodbs.com
Subject: Re: pg_upgrade and reg* system oid user types
In-Reply-To: <201008031836.o73Ia7026565@momjian.us>
References: <4C586014.7030900@gmail.com> <201008031836.o73Ia7026565@momjian.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