pg18 compile work cont

m3hm3t/pg18_dev_relation_oid_0
Mehmet Yilmaz 2025-05-12 20:02:13 +00:00
parent 6220ff57e8
commit d0aeed28ed
5 changed files with 25 additions and 0 deletions

View File

@ -16,6 +16,9 @@
#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/skey.h"
#include "catalog/pg_am.h"

View File

@ -16,6 +16,7 @@
#include "distributed/connection_management.h"
#include "distributed/error_codes.h"
#include "distributed/errormessage.h"
#include "utils/memutils.h" /* for TopTransactionContext */
#include "distributed/log_utils.h"
#include "distributed/worker_log_messages.h"

View File

@ -23,6 +23,7 @@
#include "commands/createas.h"
#include "commands/dbcommands.h"
#include "commands/explain.h"
#include "commands/explain_format.h"
#include "commands/tablecmds.h"
#include "executor/tstoreReceiver.h"
#include "lib/stringinfo.h"
@ -42,6 +43,10 @@
#include "utils/json.h"
#include "utils/lsyscache.h"
#include "utils/snapmgr.h"
#if PG_VERSION_NUM >= PG_VERSION_18
# include "commands/explain_dr.h" /* CreateExplainSerializeDestReceiver() */
#endif
#include "pg_version_constants.h"
#if PG_VERSION_NUM >= PG_VERSION_18

View File

@ -34,6 +34,14 @@
#include "utils/relcache.h"
#include "utils/syscache.h"
/*
* PG18 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"
#if PG_VERSION_NUM >= PG_VERSION_18
typedef OpIndexInterpretation OpBtreeInterpretation;

View File

@ -84,6 +84,14 @@
#include "utils/memutils.h"
#include "utils/ruleutils.h"
/*
* PG18 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"
#if PG_VERSION_NUM >= PG_VERSION_18
typedef OpIndexInterpretation OpBtreeInterpretation;