Skip to content

Commit

Permalink
Add crosstab to blocklist, since they take arbitrary SQL as args
Browse files Browse the repository at this point in the history
  • Loading branch information
lfittl committed Jan 7, 2025
1 parent f37543e commit 618f79b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions input/postgres/explain_analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ var blockedFunctions = []string{
"dblink_connect",
"dblink_exec",
// Blocked because these functions allow executing arbitrary SQL as input (which can workaround other checks)
"crosstab",
"crosstab2",
"crosstab3",
"crosstab4",
"xpath_table",
}

Expand Down

0 comments on commit 618f79b

Please sign in to comment.