diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-04-24 02:48:55 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-04-24 02:48:55 +0000 |
commit | 3a96b6cdeb6ea526de8759dd138c5985437c0260 (patch) | |
tree | cf2b1a95e59779679314a9207be42824e2fe9fac /src/include/commands/tablecmds.h | |
parent | fbc4b7110fc9cd7096a248e257086974ffeadcc2 (diff) | |
download | postgresql-3a96b6cdeb6ea526de8759dd138c5985437c0260.tar.gz postgresql-3a96b6cdeb6ea526de8759dd138c5985437c0260.zip |
Attached is a patch for ALTER TRIGGER RENAME per the above thread. I
left a stub for a future "ALTER RULE RENAME" but did not write that one
yet. Bruce, if you want to add my name for for that I'll take it and do
it later.
Joe Conway
Diffstat (limited to 'src/include/commands/tablecmds.h')
-rw-r--r-- | src/include/commands/tablecmds.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/commands/tablecmds.h b/src/include/commands/tablecmds.h index 5d895972f5b..f3dfcd6b9b1 100644 --- a/src/include/commands/tablecmds.h +++ b/src/include/commands/tablecmds.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: tablecmds.h,v 1.1 2002/04/15 05:22:04 tgl Exp $ + * $Id: tablecmds.h,v 1.2 2002/04/24 02:48:55 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -15,6 +15,7 @@ #define TABLECMDS_H #include "nodes/parsenodes.h" +#include "utils/inval.h" extern void AlterTableAddColumn(Oid myrelid, bool inherits, ColumnDef *colDef); @@ -60,4 +61,8 @@ extern void renameatt(Oid relid, extern void renamerel(Oid relid, const char *newrelname); +extern void renametrig(Oid relid, + const char *oldname, + const char *newname); + #endif /* TABLECMDS_H */ |