]> granicus.if.org Git - postgresql/blob - src/include/rewrite/locks.h
Fix some (more) problems with subselects in rules. Rewriter failed to
[postgresql] / src / include / rewrite / locks.h
1 /*-------------------------------------------------------------------------
2  *
3  * locks.h
4  *
5  *
6  *
7  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $Id: locks.h,v 1.13 2000/01/26 05:58:30 momjian Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef LOCKS_H
15 #define LOCKS_H
16
17 #include "nodes/parsenodes.h"
18 #include "rewrite/prs2lock.h"
19
20 extern List *matchLocks(CmdType event, RuleLock *rulelocks, int varno,
21                    Query *parsetree);
22 extern void checkLockPerms(List *locks, Query *parsetree, int rt_index);
23
24 #endif   /* LOCKS_H */