Re: question on renaming a foreign key

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: question on renaming a foreign key
Дата
Msg-id 20061012001500.39795.qmail@web31804.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: question on renaming a foreign key  (Ron Johnson <ron.l.johnson@cox.net>)
Ответы Re: question on renaming a foreign key  (Ron Johnson <ron.l.johnson@cox.net>)
Список 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 по дате отправления:

Предыдущее
От: Geoffrey
Дата:
Сообщение: Re: more anti-postgresql FUD
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: more anti-postgresql FUD