Truncate - Mailing list pgsql-patches

From Rod Taylor
Subject Truncate
Date
Msg-id 1029815153.86008.18.camel@jester
Whole thread Raw
Responses Re: Truncate  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
# Disallow TRUNCATE on tables that are involved in referential
constraints


The issue with finding and removing foreign key constraints is no longer
an issue, so please apply the attached.

It does NOT check for rules or on delete triggers (old style foreign
keys) as those are difficult to deal with (remove, truncate, re-add).

Please add files:
src/test/regress/expected/truncate.out
src/test/regress/sql/truncate.sql

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: first cut at PL/PgSQL table functions
Next
From: Rod Taylor
Date:
Subject: Re: Documentation update (pg_get_fkeydef,