mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-20 18:20:56 +02:00
64731c73ba
psql does not substitute :var references inside dollar-quoted strings, so the DO blocks in the user and retention subcommands were receiving literal colons and failing (silently for user, via hide_output: True). Rewrite the conditional CREATE/ALTER ROLE with SELECT format(...) \\gexec and guard the retention UPDATE with \\gset + \\if.