We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c8f749 commit 895a4bcCopy full SHA for 895a4bc
src/backend/commands/tablecmds.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.259 2008/06/19 00:46:04 alvherre Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.260 2008/07/16 16:54:08 momjian Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -762,6 +762,9 @@ ExecuteTruncate(TruncateStmt *stmt)
762
ResultRelInfo *resultRelInfo;
763
ListCell *cell;
764
765
+ /* make list unique */
766
+ stmt->relations = list_union(NIL, stmt->relations);
767
+
768
/*
769
* Open, exclusive-lock, and check all the explicitly-specified relations
770
0 commit comments