Re: pg_upgrade and reg* system oid user types

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Glen Barber <glen(dot)j(dot)barber(at)gmail(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-testers(at)postgresql(dot)org
Subject: Re: pg_upgrade and reg* system oid user types
Date: 2010-08-03 19:05:06
Message-ID: 201008031905.o73J56F02178@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-testers

Glen Barber wrote:
> On 8/3/10 2:36 PM, Bruce Momjian wrote:
> >>> 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.
> >
>
> I wasn't sure if it would be common. I was able to move forward with a
> dump/restore for now; I'll remove the user tables in question and run it
> through pg_upgrade again later this week.

Yes, pg_upgrade should have recommended manual upgrade of tables using
reg* so you could still use pg_upgrade.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-testers by date

  From Date Subject
Next Message Mark Watson 2010-08-06 12:53:21 bytea_output
Previous Message Glen Barber 2010-08-03 18:46:46 Re: pg_upgrade and reg* system oid user types