mirror of https://github.com/citusdata/citus.git
pg18 compile work cont
parent
6220ff57e8
commit
d0aeed28ed
|
@ -16,6 +16,9 @@
|
||||||
|
|
||||||
#include "miscadmin.h"
|
#include "miscadmin.h"
|
||||||
|
|
||||||
|
#include "nodes/execnodes.h" /* for ExprState, ExprContext, etc. */
|
||||||
|
#include "executor/executor.h" /* for ExecInitExprWithParams(), ExecEvalExpr() */
|
||||||
|
#include "commands/explain_format.h" /* for ExplainPropertyInteger() */
|
||||||
#include "access/amapi.h"
|
#include "access/amapi.h"
|
||||||
#include "access/skey.h"
|
#include "access/skey.h"
|
||||||
#include "catalog/pg_am.h"
|
#include "catalog/pg_am.h"
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include "distributed/connection_management.h"
|
#include "distributed/connection_management.h"
|
||||||
#include "distributed/error_codes.h"
|
#include "distributed/error_codes.h"
|
||||||
#include "distributed/errormessage.h"
|
#include "distributed/errormessage.h"
|
||||||
|
#include "utils/memutils.h" /* for TopTransactionContext */
|
||||||
#include "distributed/log_utils.h"
|
#include "distributed/log_utils.h"
|
||||||
#include "distributed/worker_log_messages.h"
|
#include "distributed/worker_log_messages.h"
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include "commands/createas.h"
|
#include "commands/createas.h"
|
||||||
#include "commands/dbcommands.h"
|
#include "commands/dbcommands.h"
|
||||||
#include "commands/explain.h"
|
#include "commands/explain.h"
|
||||||
|
#include "commands/explain_format.h"
|
||||||
#include "commands/tablecmds.h"
|
#include "commands/tablecmds.h"
|
||||||
#include "executor/tstoreReceiver.h"
|
#include "executor/tstoreReceiver.h"
|
||||||
#include "lib/stringinfo.h"
|
#include "lib/stringinfo.h"
|
||||||
|
@ -42,6 +43,10 @@
|
||||||
#include "utils/json.h"
|
#include "utils/json.h"
|
||||||
#include "utils/lsyscache.h"
|
#include "utils/lsyscache.h"
|
||||||
#include "utils/snapmgr.h"
|
#include "utils/snapmgr.h"
|
||||||
|
#if PG_VERSION_NUM >= PG_VERSION_18
|
||||||
|
# include "commands/explain_dr.h" /* CreateExplainSerializeDestReceiver() */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include "pg_version_constants.h"
|
#include "pg_version_constants.h"
|
||||||
#if PG_VERSION_NUM >= PG_VERSION_18
|
#if PG_VERSION_NUM >= PG_VERSION_18
|
||||||
|
|
|
@ -34,6 +34,14 @@
|
||||||
#include "utils/relcache.h"
|
#include "utils/relcache.h"
|
||||||
#include "utils/syscache.h"
|
#include "utils/syscache.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* PG 18 renamed OpBtreeInterpretation to the more generic OpIndexInterpretation,
|
||||||
|
* so make the old name an alias.
|
||||||
|
*/
|
||||||
|
#if PG_VERSION_NUM >= PG_VERSION_18
|
||||||
|
typedef OpIndexInterpretation OpBtreeInterpretation;
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "pg_version_constants.h"
|
#include "pg_version_constants.h"
|
||||||
#if PG_VERSION_NUM >= PG_VERSION_18
|
#if PG_VERSION_NUM >= PG_VERSION_18
|
||||||
typedef OpIndexInterpretation OpBtreeInterpretation;
|
typedef OpIndexInterpretation OpBtreeInterpretation;
|
||||||
|
|
|
@ -84,6 +84,14 @@
|
||||||
#include "utils/memutils.h"
|
#include "utils/memutils.h"
|
||||||
#include "utils/ruleutils.h"
|
#include "utils/ruleutils.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* PG 18 renamed OpBtreeInterpretation to the more generic OpIndexInterpretation,
|
||||||
|
* so make the old name an alias.
|
||||||
|
*/
|
||||||
|
#if PG_VERSION_NUM >= PG_VERSION_18
|
||||||
|
typedef OpIndexInterpretation OpBtreeInterpretation;
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "pg_version_constants.h"
|
#include "pg_version_constants.h"
|
||||||
#if PG_VERSION_NUM >= PG_VERSION_18
|
#if PG_VERSION_NUM >= PG_VERSION_18
|
||||||
typedef OpIndexInterpretation OpBtreeInterpretation;
|
typedef OpIndexInterpretation OpBtreeInterpretation;
|
||||||
|
|
Loading…
Reference in New Issue