Re: rename a constraint?

Поиск
Список
Период
Сортировка
От Decibel!
Тема Re: rename a constraint?
Дата
Msg-id 20070902000428.GC38801@decibel.org
обсуждение исходный текст
Ответ на rename a constraint?  (Kevin Kempter <kevin@kevinkempterllc.com>)
Список pgsql-admin
On Thu, Aug 30, 2007 at 02:42:43PM -0600, Kevin Kempter wrote:
> Hi List;
>
> Is there a method/syntax I can use to rename a constraint ?

Not an official one, no... you'll need to create a new one then drop the
old (don't do it the other way or it'll have to re-check everything).

You might also be able to UPDATE the appropriate catalog, but I'm not
sure how safe that is.
--
Decibel!, aka Jim Nasby                        decibel@decibel.org
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

Вложения

В списке pgsql-admin по дате отправления:

Предыдущее
От: Decibel!
Дата:
Сообщение: Re: Postgres can be started only when one postgres user is logged in
Следующее
От: Decibel!
Дата:
Сообщение: Re: pitr replica dies on startup