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

From Tom Lane
Subject Re: Proposal: TRUNCATE TABLE table RESTRICT
Date
Msg-id 15929.960475260@sss.pgh.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  (Don Baccus <dhogaza@pacifier.com>)
List pgsql-hackers
Don Baccus <dhogaza@pacifier.com> writes:
> If the references are implicit (no REFERENCE or FOREIGN KEY given
> to inform the db of the relationship) then a RESTRICT option to
> truncate does seem useful.

Uh, if the references are implicit, how would RESTRICT know they exist?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Strange message in logs..
Next
From: Mike Mascari
Date:
Subject: Re: Proposal: TRUNCATE TABLE table RESTRICT