diff --git a/src/postgres_extension.cpp b/src/postgres_extension.cpp index d911a4826..956021849 100644 --- a/src/postgres_extension.cpp +++ b/src/postgres_extension.cpp @@ -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", diff --git a/src/postgres_filter_pushdown.cpp b/src/postgres_filter_pushdown.cpp index 2b132577f..98ffcf4be 100644 --- a/src/postgres_filter_pushdown.cpp +++ b/src/postgres_filter_pushdown.cpp @@ -60,7 +60,7 @@ string PostgresFilterPushdown::TransformFilters(const vector &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)); } diff --git a/src/storage/postgres_table_entry.cpp b/src/storage/postgres_table_entry.cpp index 87bd6cdd4..7f5235f55 100644 --- a/src/storage/postgres_table_entry.cpp +++ b/src/storage/postgres_table_entry.cpp @@ -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) { diff --git a/test/sql/storage/filter_pushdown_blob_in.test b/test/sql/storage/filter_pushdown_blob_in.test index 15308c703..9ba0734bd 100644 --- a/test/sql/storage/filter_pushdown_blob_in.test +++ b/test/sql/storage/filter_pushdown_blob_in.test @@ -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);