diff --git a/src/scan/postgres_scan.cpp b/src/scan/postgres_scan.cpp index 95e9195..dfadbeb 100644 --- a/src/scan/postgres_scan.cpp +++ b/src/scan/postgres_scan.cpp @@ -203,7 +203,8 @@ PostgresScanFunctionData::~PostgresScanFunctionData() { // PostgresScanTableFunction::PostgresScanTableFunction() - : TableFunction("postgres_scan", {}, PostgresScanFunction, nullptr, PostgresScanInitGlobal, PostgresScanInitLocal) { + : TableFunction("pgduckdb_postgres_scan", {}, PostgresScanFunction, nullptr, PostgresScanInitGlobal, + PostgresScanInitLocal) { named_parameters["cardinality"] = duckdb::LogicalType::UBIGINT; named_parameters["relid"] = duckdb::LogicalType::UINTEGER; named_parameters["snapshot"] = duckdb::LogicalType::POINTER; diff --git a/test/regression/expected/duckdb_recycle.out b/test/regression/expected/duckdb_recycle.out index 2c7dd1f..9b48173 100644 --- a/test/regression/expected/duckdb_recycle.out +++ b/test/regression/expected/duckdb_recycle.out @@ -13,7 +13,7 @@ EXPLAIN SELECT count(*) FROM ta; │ count_star() │ └─────────────┬─────────────┘ ┌─────────────┴─────────────┐ - │ POSTGRES_SCAN │ + │ PGDUCKDB_POSTGRES_SCAN │ │ ──────────────────── │ │ Table: ta │ │ │ @@ -37,7 +37,7 @@ EXPLAIN SELECT count(*) FROM ta; │ count_star() │ └─────────────┬─────────────┘ ┌─────────────┴─────────────┐ - │ POSTGRES_SCAN │ + │ PGDUCKDB_POSTGRES_SCAN │ │ ──────────────────── │ │ Table: ta │ │ │