Skip to content

Commit

Permalink
Minor header cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaruza committed Dec 13, 2024
1 parent 98ecdf3 commit c25f1be
Showing 1 changed file with 2 additions and 32 deletions.
34 changes: 2 additions & 32 deletions src/scan/postgres_scan.cpp
Original file line number Diff line number Diff line change
@@ -1,50 +1,20 @@
#include "duckdb/main/client_context.hpp"
#include "duckdb/function/replacement_scan.hpp"
#include "duckdb/parser/tableref/table_function_ref.hpp"
#include "duckdb/parser/parser.hpp"
#include "duckdb/parser/tableref/subqueryref.hpp"
#include "duckdb/parser/expression/function_expression.hpp"
#include "duckdb/parser/statement/select_statement.hpp"
#include "duckdb/parser/expression/constant_expression.hpp"
#include "duckdb/parser/expression/comparison_expression.hpp"
#include "duckdb/parser/expression/columnref_expression.hpp"
#include "duckdb/parser/qualified_name.hpp"
#include "duckdb/common/enums/statement_type.hpp"
#include "duckdb/common/enums/expression_type.hpp"

#include "pgduckdb/scan/postgres_scan.hpp"
#include "pgduckdb/scan/postgres_table_reader.hpp"
#include "pgduckdb/pgduckdb_types.hpp"
#include "pgduckdb/pgduckdb_utils.hpp"

#include "pgduckdb/pgduckdb_process_lock.hpp"
#include "pgduckdb/pgduckdb_types.hpp"
#include "pgduckdb/pgduckdb_utils.hpp"
#include "pgduckdb/logger.hpp"

extern "C" {
#include "postgres.h"
#include "access/htup_details.h"
#include "catalog/namespace.h"
#include "catalog/pg_class.h"
#include "optimizer/planmain.h"
#include "optimizer/planner.h"
#include "executor/tuptable.h"
#include "utils/builtins.h"
#include "utils/lsyscache.h"
#include "utils/regproc.h"
#include "utils/rel.h"
#include "utils/snapmgr.h"
#include "utils/syscache.h"
#include "tcop/tcopprot.h"
#include "executor/execdesc.h"
#include "executor/executor.h"

#include "pgduckdb/vendor/pg_ruleutils.h"
#include "pgduckdb/pgduckdb_ruleutils.h"
}

#include "pgduckdb/pgduckdb_process_lock.hpp"

namespace pgduckdb {

//
Expand Down Expand Up @@ -141,7 +111,7 @@ PostgresScanGlobalState::ConstructTableScanQuery(duckdb::TableFunctionInitInput

scan_query << ";";

elog(DEBUG1, "scan_query: %s", scan_query.str().c_str());
pd_log(DEBUG1, "scan_query: %s", scan_query.str().c_str());
}

std::string
Expand Down

0 comments on commit c25f1be

Please sign in to comment.