Re: question on renaming a foreign key - Mailing list pgsql-general

From Richard Broersma Jr
Subject Re: question on renaming a foreign key
Date
Msg-id 20061012001500.39795.qmail@web31804.mail.mud.yahoo.com
Whole thread Raw
In response to Re: question on renaming a foreign key  (Ron Johnson <ron.l.johnson@cox.net>)
Responses Re: question on renaming a foreign key  (Ron Johnson <ron.l.johnson@cox.net>)
List pgsql-general
> >> I doesn't appear that ALTER TABLE can change constraint
> >> characteristics. You'd have to drop/recreate, no?
> >
> > Now that you mention it, I've never tried it or seen it done.
> > Here I what I came up with:
> >
> [snip]
> >
> >
> > It is nice to see things work so well. :-)
>
> It would be interesting to see how well it works on a 50M row table.

Good point, but hopefully only small fraction of the 50 M rows would be affected and hopefully
updating primary keys isn't a common occurrence.

Regards,

Richard Broersma Jr.

pgsql-general by date:

Previous
From: Geoffrey
Date:
Subject: Re: more anti-postgresql FUD
Next
From: Ron Johnson
Date:
Subject: Re: more anti-postgresql FUD