mirror of
https://github.com/postgres/postgres.git
synced 2026-02-16 09:08:23 -05:00
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
28 lines
784 B
C
28 lines
784 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* rewriteSupport.h
|
|
*
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: rewriteSupport.h,v 1.11 2000/01/26 05:58:30 momjian Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef REWRITESUPPORT_H
|
|
#define REWRITESUPPORT_H
|
|
|
|
#include "access/attnum.h"
|
|
#include "nodes/pg_list.h"
|
|
|
|
extern int IsDefinedRewriteRule(char *ruleName);
|
|
|
|
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);
|
|
|
|
|
|
#endif /* REWRITESUPPORT_H */
|