Re: alter table schema in 8.0

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marcin Inkielman <marn(at)wsisiz(dot)edu(dot)pl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: alter table schema in 8.0
Date: 2005-12-10 17:59:42
Message-ID: 21524.1134237582@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Marcin Inkielman <marn(at)wsisiz(dot)edu(dot)pl> writes:
> I am migrating a relativly huge database from postgres 7.2 to 8.0. I
> need to alter schema
> for sth about 500 tables and twice as many other objects. Do I need to
> sth other on a new database than:

I'd suggest updating to 8.1 (where there's ALTER SET SCHEMA commands)
instead of trying to mess with the system catalogs by hand. Your sketch
fails to account for updating pg_depend, and I'm not sure offhand if you
missed anything else.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2005-12-10 19:50:04 Re: Performance woes
Previous Message Greg Stark 2005-12-10 17:28:00 Re: random delays