Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef REWRITESUPPORT_H
00015 #define REWRITESUPPORT_H
00016
00017
00018 #define ViewSelectRuleName "_RETURN"
00019
00020 extern bool IsDefinedRewriteRule(Oid owningRel, const char *ruleName);
00021
00022 extern void SetRelationRuleStatus(Oid relationId, bool relHasRules);
00023
00024 extern Oid get_rewrite_oid(Oid relid, const char *rulename, bool missing_ok);
00025 extern Oid get_rewrite_oid_without_relid(const char *rulename,
00026 Oid *relid, bool missing_ok);
00027
00028 #endif