/*
 * This file and its contents are licensed under the Apache License 2.0.
 * Please see the included NOTICE for copyright information and
 * LICENSE-APACHE for a copy of the license.
 */
#pragma once

/*
 * This file contains source code that was copied and/or modified from
 * the PostgreSQL database, which is licensed under the open-source
 * PostgreSQL License. Please see the NOTICE at the top level
 * directory for a copy of the PostgreSQL License.
 */

#include <postgres.h>

#include <commands/explain.h>
#include <nodes/execnodes.h>
#include <nodes/pg_list.h>

#include <compat/compat.h>
#include "export.h"

#if PG18_GE
#include <commands/explain_format.h>
#include <commands/explain_state.h>
#endif

extern TSDLLEXPORT void ts_show_scan_qual(List *qual, const char *qlabel, PlanState *planstate,
										  List *ancestors, ExplainState *es);

extern TSDLLEXPORT void ts_show_instrumentation_count(const char *qlabel, int which,
													  PlanState *planstate, ExplainState *es);
