Re: on update restrict

Поиск
Список
Период
Сортировка
От Alan Gutierrez
Тема Re: on update restrict
Дата
Msg-id Pine.WNT.4.33.0108140658490.852-100000@CX1198465-B
обсуждение исходный текст
Ответ на Re: on update restrict  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-sql
On Tue, 14 Aug 2001, Jan Wieck wrote:

> Mister ics wrote:
> > testdb=>create table t1 (
> >    id int primary key,
> >    foo int);

> > testdb=>create table t2 (
> >    id int primary key,
> >    ref int references t1(id) on update restrict);

>     So an attempt to
>
>         UPDATE t1 SET id = 2 WHERE id = 1;
>
>     is the thing prevented in your above example.

I find it odd that you specify a restiction on one table in the definition of
another table.

Sorry, if this was a double post.

Alan Gutierrez



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

Предыдущее
От: Raymond Chui
Дата:
Сообщение: The numbers are not match in 7.1.2
Следующее
От: Raymond Chui
Дата:
Сообщение: Where is pgplsql.so located in 7.1.2?