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)
const char * view_query_is_auto_updatable(Query *viewquery, bool check_cols)
int relation_is_updatable(Oid reloid, List *outer_reloids, bool include_triggers, Bitmapset *include_cols)
List * QueryRewrite(Query *parsetree)
Query * get_view_query(Relation view)
void error_view_not_updatable(Relation view, CmdType command, List *mergeActionList, const char *detail)
Node * build_column_default(Relation rel, int attrno)