diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/catalog/heap.h | 6 | ||||
| -rw-r--r-- | src/include/commands/tablecmds.h | 4 | ||||
| -rw-r--r-- | src/include/nodes/parsenodes.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/include/catalog/heap.h b/src/include/catalog/heap.h index bc31c8d7778..7a7352c6938 100644 --- a/src/include/catalog/heap.h +++ b/src/include/catalog/heap.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/heap.h,v 1.72 2004/12/31 22:03:24 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/catalog/heap.h,v 1.73 2005/01/27 03:18:15 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -56,9 +56,9 @@ extern Oid heap_create_with_catalog(const char *relname, extern void heap_drop_with_catalog(Oid relid); -extern void heap_truncate(Oid rid); +extern void heap_truncate(List *relids); -extern void heap_truncate_check_FKs(Relation rel); +extern void heap_truncate_check_FKs(List *relations, bool tempTables); extern List *AddRelationRawConstraints(Relation rel, List *rawColDefaults, diff --git a/src/include/commands/tablecmds.h b/src/include/commands/tablecmds.h index 75da81f0000..5ec8c9a57d1 100644 --- a/src/include/commands/tablecmds.h +++ b/src/include/commands/tablecmds.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/tablecmds.h,v 1.21 2004/12/31 22:03:28 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/commands/tablecmds.h,v 1.22 2005/01/27 03:18:24 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -27,7 +27,7 @@ extern void AlterTableInternal(Oid relid, List *cmds, bool recurse); extern void AlterTableCreateToastTable(Oid relOid, bool silent); -extern void TruncateRelation(const RangeVar *relation); +extern void ExecuteTruncate(List *relations); extern void renameatt(Oid myrelid, const char *oldattname, diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 14df21516d7..f5c38619786 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.271 2004/12/31 22:03:34 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.272 2005/01/27 03:18:42 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1283,7 +1283,7 @@ typedef struct DropPropertyStmt typedef struct TruncateStmt { NodeTag type; - RangeVar *relation; /* relation to be truncated */ + List *relations; /* relations (RangeVars) to be truncated */ } TruncateStmt; /* ---------------------- |
