Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/postgres_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static void LoadInternal(ExtensionLoader &loader) {
"postgres_configure_pool(catalog_name='my_attached_postgres_db', "
"max_connections=0)\" for already attached Postgres databases.",
LogicalType::BOOLEAN, Value::BOOLEAN(true), DisablePool);
config.AddExtensionOption("pg_experimental_filter_pushdown", "Whether or not to use filter pushdown",
config.AddExtensionOption("pg_enable_filter_pushdown", "Whether or not to use filter pushdown",
LogicalType::BOOLEAN, Value::BOOLEAN(true));
config.AddExtensionOption("pg_null_byte_replacement",
"When writing NULL bytes to Postgres, replace them with the given character",
Expand Down
2 changes: 1 addition & 1 deletion src/postgres_filter_pushdown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ string PostgresFilterPushdown::TransformFilters(const vector<column_t> &column_i
continue;
}
throw NotImplementedException(
"Unsupported filter pushdown, use 'pg_experimental_filter_pushdown=FALSE' to disable pushdowns."
"Unsupported filter pushdown, use 'pg_enable_filter_pushdown=FALSE' to disable pushdowns."
" Problematic filter: \"%s\"",
table_scan::FilterUtil::ToString(filter));
}
Expand Down
2 changes: 1 addition & 1 deletion src/storage/postgres_table_entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ TableFunction PostgresTableEntry::GetScanFunction(ClientContext &context, unique
bind_data = std::move(result);
auto function = PostgresScanFunction();
Value filter_pushdown;
if (context.TryGetCurrentSetting("pg_experimental_filter_pushdown", filter_pushdown)) {
if (context.TryGetCurrentSetting("pg_enable_filter_pushdown", filter_pushdown)) {
function.filter_pushdown = BooleanValue::Get(filter_pushdown);
}
if (function.filter_pushdown) {
Expand Down
2 changes: 1 addition & 1 deletion test/sql/storage/filter_pushdown_blob_in.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ statement ok
ATTACH 'dbname=postgresscanner' AS s (TYPE POSTGRES)

statement ok
SET pg_experimental_filter_pushdown=true
SET pg_enable_filter_pushdown=true

statement ok
CREATE OR REPLACE TABLE s.blob_in(id INTEGER, b BLOB);
Expand Down
Loading