You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
143827: sql: disallow creating triggers which use TG_ARGV r=yuzefovich a=DrewKimball
The `TG_ARGV` trigger function argument is 0-indexed in Postgres. Since we currently don't have a way to replicate this behvaior, this commit disallows usage of `TG_ARGV` for now. The session setting `allow_create_trigger_function_with_argv_references` can be set to true to allow usage (with 1-based indexing).
Informs #135311
Release note (sql change): Usage of `TG_ARGV` in trigger functions is now disallowed by default.
Co-authored-by: Drew Kimball <[email protected]>
0 commit comments