From 7de307f96c22f36c886a09bc95bb1e23275151d3 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 26 Apr 2002 19:29:47 +0000 Subject: 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. --- src/include/commands/trigger.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include/commands/trigger.h') diff --git a/src/include/commands/trigger.h b/src/include/commands/trigger.h index 4166b47bb7..4719bf0c91 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); -- cgit v1.2.1