14#ifndef REWRITEHANDLER_H
15#define REWRITEHANDLER_H
23 bool forUpdatePushedDown);
29 List *mergeActionList);
34 bool include_triggers,
38 List *mergeActionList,
void AcquireRewriteLocks(Query *parsetree, bool forExecute, bool forUpdatePushedDown)
bool view_has_instead_trigger(Relation view, CmdType event, List *mergeActionList)
int relation_is_updatable(Oid reloid, List *outer_reloids, bool include_triggers, Bitmapset *include_cols)
Query * get_view_query(Relation view)
const char * view_query_is_auto_updatable(Query *viewquery, bool check_cols)
List * QueryRewrite(Query *parsetree)
void error_view_not_updatable(Relation view, CmdType command, List *mergeActionList, const char *detail)
Node * build_column_default(Relation rel, int attrno)