Re: Renaming unnamed FK constraints

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vincent Frison <turman(at)ohmforce(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Renaming unnamed FK constraints
Date: 2006-04-17 17:26:13
Message-ID: 2343.1145294773@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Vincent Frison <turman(at)ohmforce(dot)com> writes:
> Le Lundi 2006 Avril 17 18:12, Tom Lane a crit:
>> You could try contrib/adddepend instead of
>> doing this by hand.

> What do you mean by contrib/adddepend?

There's a Perl script in contrib that will help with this, as well as
with some other things that are good to do when updating from pre-7.3
to 7.3. Apparently you didn't see the 7.3 release note suggesting you
run it?

It's possible that this script is not in the Debian postgresql-contrib
package, but if nothing else you could get it from our CVS server:
http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/adddepend/

> BTW a lot of people should have the same problem (i.e. tables creation with
> unamed constraints on PG < 7.3) shouldn't they?

Most people fixed this some time ago ...

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Richard Broersma Jr 2006-04-17 17:55:45 Re: PostgreSQL a slow DB?
Previous Message Brant Fitzsimmons 2006-04-17 16:39:39 Re: PostgreSQL a slow DB?