1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* rewriteSupport.h--
|
1997-09-07 07:04:48 +02:00
|
|
|
*
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1997-09-07 07:04:48 +02:00
|
|
|
* $Id: rewriteSupport.h,v 1.3 1997/09/07 05:00:38 momjian Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef REWRITESUPPORT_H
|
|
|
|
#define REWRITESUPPORT_H
|
1996-07-09 08:22:35 +02:00
|
|
|
|
|
|
|
|
1997-09-07 07:04:48 +02:00
|
|
|
extern int IsDefinedRewriteRule(char *ruleName);
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1997-09-07 07:04:48 +02:00
|
|
|
extern void
|
|
|
|
prs2_addToRelation(Oid relid, Oid ruleId, CmdType event_type,
|
|
|
|
AttrNumber attno, bool isInstead, Node * qual,
|
|
|
|
List * actions);
|
|
|
|
extern void prs2_deleteFromRelation(Oid relid, Oid ruleId);
|
1996-07-09 08:22:35 +02:00
|
|
|
|
|
|
|
|
1997-09-07 07:04:48 +02:00
|
|
|
#endif /* REWRITESUPPORT_H */
|