mirror of
https://github.com/postgres/postgres.git
synced 2026-03-12 05:32:27 -04:00
23 lines
590 B
C
23 lines
590 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* locks.h
|
|
*
|
|
*
|
|
*
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: locks.h,v 1.12 1999/07/15 15:21:29 momjian Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef LOCKS_H
|
|
#define LOCKS_H
|
|
|
|
#include "nodes/parsenodes.h"
|
|
#include "rewrite/prs2lock.h"
|
|
|
|
extern List *matchLocks(CmdType event, RuleLock *rulelocks, int varno,
|
|
Query *parsetree);
|
|
extern void checkLockPerms(List *locks, Query *parsetree, int rt_index);
|
|
|
|
#endif /* LOCKS_H */
|