diff options
| author | Tom Lane | 2002-08-22 14:23:36 +0000 |
|---|---|---|
| committer | Tom Lane | 2002-08-22 14:23:36 +0000 |
| commit | 0f1112923cf5ae8d4a3a81d5ffe78e0c866cb1ac (patch) | |
| tree | 454f5a2b1dcdc2fc8cb43f0105a7006f47b789a2 /src/test | |
| parent | b4f24fed7a731e6d015403d5dfb40a52a80be926 (diff) | |
Code review for recent TRUNCATE changes. Tighten relation-kind check,
tighten foreign-key check (a self-reference should not prevent TRUNCATE),
improve error message, cause a relation's TOAST table to be truncated
along with the relation.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/regress/expected/truncate.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/regress/expected/truncate.out b/src/test/regress/expected/truncate.out index 19300f63a36..8751b1fdb7d 100644 --- a/src/test/regress/expected/truncate.out +++ b/src/test/regress/expected/truncate.out @@ -27,7 +27,7 @@ SELECT * FROM truncate_a; (1 row) TRUNCATE truncate_a; -ERROR: TRUNCATE cannot be used as other tables reference this one via foreign key constraint $1 +ERROR: TRUNCATE cannot be used as table truncate_b references this one via foreign key constraint $1 SELECT * FROM truncate_a; col1 ------ |
