mirror of
https://github.com/postgres/postgres.git
synced 2026-02-19 02:29:10 -05:00
maintained for each cache entry. A cache entry will not be freed until the matching ReleaseSysCache call has been executed. This eliminates worries about cache entries getting dropped while still in use. See my posting to pg-hackers of even date for more info.
22 lines
618 B
C
22 lines
618 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.14 2000/11/16 22:30:46 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef REWRITESUPPORT_H
|
|
#define REWRITESUPPORT_H
|
|
|
|
extern bool IsDefinedRewriteRule(char *ruleName);
|
|
|
|
extern void SetRelationRuleStatus(Oid relationId, bool relHasRules,
|
|
bool relIsBecomingView);
|
|
|
|
#endif /* REWRITESUPPORT_H */
|