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-08 23:56:23 +02:00
|
|
|
* $Id: rewriteSupport.h,v 1.5 1997/09/08 21:54:11 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-08 04:41:22 +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,
|
1997-09-08 23:56:23 +02:00
|
|
|
AttrNumber attno, bool isInstead, Node *qual,
|
|
|
|
List *actions);
|
1997-09-08 04:41:22 +02:00
|
|
|
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 */
|