Re: Updating a table column with ref integrity

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Updating a table column with ref integrity
Дата
Msg-id web-1827592@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на Updating a table column with ref integrity  (teknokrat <teknokrat@yahoo.com>)
Ответы how can I improve the speed of this query  ("Peter T. Brown" <peter@memeticsystems.com>)
Список pgsql-sql
Teknokrat,

> I need to to change the type of a table column. The problem is that
> this 
>  table has a ref integrity constarint set up with another table. Does
> 
> anyone know how I can do this easily without breaking any
> constraints.

Easily?  No.

In sum:  dump your database to file.  Backup.  Edit the file. Re-create and re-load the database.

-Josh Berkus


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: Proposal of hierarchical queries, a la Oracle
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Does Postgres replace \\ with \ in an update query