Re: Proposal: TRUNCATE TABLE table RESTRICT - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Proposal: TRUNCATE TABLE table RESTRICT
Date
Msg-id 200006081547.LAA01805@candle.pha.pa.us
Whole thread Raw
In response to Re: Proposal: TRUNCATE TABLE table RESTRICT  (Don Baccus <dhogaza@pacifier.com>)
Responses Re: Proposal: TRUNCATE TABLE table RESTRICT
List pgsql-hackers
> All that needs doing is to check for the existence of 
> at least one RI trigger on the table that's being truncated,
> and saying "no way, jose" if we want to mimic Oracle in
> this regard.
> 
> TODO item?

OK, added:
* Prevent truncate on table acting as foreign key

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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: AW: Look at heap_beginscan()
Next
From: Bruce Momjian
Date:
Subject: Re: DROP COLUMN status