1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-29 10:41:53 +03:00

This patch creates a function named pg_get_triggerdef that takes the oid of

a trigger as its parameter.  It is basically copied from the pg_dump
code.

Christopher Kings-Lynne
This commit is contained in:
Bruce Momjian
2003-03-20 18:58:02 +00:00
parent 8819213534
commit 3be6367b9f
4 changed files with 203 additions and 8 deletions

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: builtins.h,v 1.208 2003/02/13 05:24:04 momjian Exp $
* $Id: builtins.h,v 1.209 2003/03/20 18:58:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -399,6 +399,7 @@ extern Datum pg_get_ruledef(PG_FUNCTION_ARGS);
extern Datum pg_get_viewdef(PG_FUNCTION_ARGS);
extern Datum pg_get_viewdef_name(PG_FUNCTION_ARGS);
extern Datum pg_get_indexdef(PG_FUNCTION_ARGS);
extern Datum pg_get_triggerdef(PG_FUNCTION_ARGS);
extern Datum pg_get_constraintdef(PG_FUNCTION_ARGS);
extern Datum pg_get_userbyid(PG_FUNCTION_ARGS);
extern Datum pg_get_expr(PG_FUNCTION_ARGS);