Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3E860632BCC for ; Tue, 3 Aug 2010 16:05:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 93735-05 for ; Tue, 3 Aug 2010 19:05:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id DF51662E9C6 for ; Tue, 3 Aug 2010 16:05:14 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id o73J56F02178; Tue, 3 Aug 2010 15:05:06 -0400 (EDT) From: Bruce Momjian Message-Id: <201008031905.o73J56F02178@momjian.us> Subject: Re: pg_upgrade and reg* system oid user types In-Reply-To: <4C586416.1050608@gmail.com> To: Glen Barber Date: Tue, 3 Aug 2010 15:05:06 -0400 (EDT) CC: Josh Berkus , pgsql-testers@postgresql.org X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/8 X-Sequence-Number: 163 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 http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +