mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user