*
*
* IDENTIFICATION
- * $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 $
*
*-------------------------------------------------------------------------
*/
ResultRelInfo *resultRelInfo;
ListCell *cell;
+ /* make list unique */
+ stmt->relations = list_union(NIL, stmt->relations);
+
/*
* Open, exclusive-lock, and check all the explicitly-specified relations
*/