1 /*------------------------------------------------------------------------- 2 * 3 * pglogical_executor.h 4 * pglogical replication plugin 5 * 6 * Copyright (c) 2015, PostgreSQL Global Development Group 7 * 8 * IDENTIFICATION 9 * pglogical_executor.h 10 * 11 *------------------------------------------------------------------------- 12 */ 13 #ifndef PGLOGICAL_EXECUTOR_H 14 #define PGLOGICAL_EXECUTOR_H 15 16 #include "executor/executor.h" 17 18 extern List *pglogical_truncated_tables; 19 20 extern EState *create_estate_for_relation(Relation rel, bool forwrite); 21 extern ExprContext *prepare_per_tuple_econtext(EState *estate, TupleDesc tupdesc); 22 extern ExprState *pglogical_prepare_row_filter(Node *row_filter); 23 24 extern void pglogical_executor_init(void); 25 26 #endif /* PGLOGICAL_EXECUTOR_H */ 27