aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/trigger.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-04-26 19:29:47 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-04-26 19:29:47 +0000
commit7de307f96c22f36c886a09bc95bb1e23275151d3 (patch)
tree6b320dc096294e4c270e4881e6d2820be63aba65 /src/include/commands/trigger.h
parente90dbd27b1efbe1d1fdb373eeccb43303f256256 (diff)
downloadpostgresql-7de307f96c22f36c886a09bc95bb1e23275151d3.tar.gz
postgresql-7de307f96c22f36c886a09bc95bb1e23275151d3.zip
Move renametrig() from tablecmds.c to trigger.c --- if we're going to
divide backend/commands by object type, let's try to pay at least minimal attention to respecting that structure, eh? Also reorder the contents of tablecmds.c; it seems odd to me to put ALTER commands before creation/deletion commands.
Diffstat (limited to 'src/include/commands/trigger.h')
-rw-r--r--src/include/commands/trigger.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/commands/trigger.h b/src/include/commands/trigger.h
index 4166b47bb74..4719bf0c914 100644
--- a/src/include/commands/trigger.h
+++ b/src/include/commands/trigger.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: trigger.h,v 1.34 2002/04/01 22:36:13 tgl Exp $
+ * $Id: trigger.h,v 1.35 2002/04/26 19:29:47 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -105,6 +105,8 @@ extern void CreateTrigger(CreateTrigStmt *stmt);
extern void DropTrigger(Oid relid, const char *trigname);
extern void RelationRemoveTriggers(Relation rel);
+extern void renametrig(Oid relid, const char *oldname, const char *newname);
+
extern void RelationBuildTriggers(Relation relation);
extern void FreeTriggerDesc(TriggerDesc *trigdesc);