Skip to content

Commit 1eac97e

Browse files
committed
Make unsafe_allow_execution_inside_functions only settable by superuser
1 parent 752c571 commit 1eac97e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pgduckdb_guc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ InitGUC() {
145145
DefineCustomVariable("duckdb.force_execution", "Force queries to use DuckDB execution", &duckdb_force_execution);
146146

147147
DefineCustomVariable("duckdb.unsafe_allow_execution_inside_functions", "Allow DuckDB execution inside functions",
148-
&duckdb_unsafe_allow_execution_inside_functions);
148+
&duckdb_unsafe_allow_execution_inside_functions, PGC_SUSET);
149149

150150
DefineCustomVariable("duckdb.unsafe_allow_mixed_transactions",
151151
"Allow mixed transactions between DuckDB and Postgres",

0 commit comments

Comments
 (0)