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
|
|
|
|
*
|
1998-02-26 05:46:47 +01:00
|
|
|
* $Id: rewriteSupport.h,v 1.8 1998/02/26 04:43:13 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-11-26 02:14:33 +01:00
|
|
|
#include "access/attnum.h"
|
|
|
|
#include "nodes/pg_list.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
|
|
|
|
1998-02-26 05:46:47 +01: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 */
|