Re: on update restrict - Mailing list pgsql-sql

From Alan Gutierrez
Subject Re: on update restrict
Date
Msg-id Pine.WNT.4.33.0108140658490.852-100000@CX1198465-B
Whole thread Raw
In response to Re: on update restrict  (Jan Wieck <JanWieck@Yahoo.com>)
List 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 by date:

Previous
From: Raymond Chui
Date:
Subject: The numbers are not match in 7.1.2
Next
From: Raymond Chui
Date:
Subject: Where is pgplsql.so located in 7.1.2?