Re: Proposal: TRUNCATE TABLE table RESTRICT

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Don Baccus <dhogaza(at)pacifier(dot)com>
Cc: Mike Mascari <mascarm(at)mascari(dot)com>, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal: TRUNCATE TABLE table RESTRICT
Date: 2000-06-08 21:20:59
Message-ID: 200006082120.RAA03091@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> At 11:47 AM 6/8/00 -0400, Bruce Momjian wrote:
>
> >OK, added:
> >
> > * Prevent truncate on table acting as foreign key
>
> How about this: Prevent truncate on table referenced by foreign key
>

Actually, I made it:

* Prevent truncate on table with a referential integrity trigger

Is that good?

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2000-06-09 00:10:57 RE: DROP COLUMN status
Previous Message Don Baccus 2000-06-08 21:19:09 Re: Proposal: TRUNCATE TABLE table RESTRICT