A format call or RAISE message has a different number of placeholders than arguments
What it finds
In PostgreSQL, format('%s and %s', a) and RAISE NOTICE 'x = %, y = %', x; have more placeholders than arguments, which fails when the code runs; more arguments than placeholders is rejected by RAISE and ignored by format, usually by mistake.
From the rule's source, format_argument_count.rs.
Turn it on, off or suppress it
The rule runs in every tier. To turn it off for a project, set its level in tx0.toml:
[rules]
"tx0/sql:format-argument-count" = "off"To keep one finding, suppress it with a reason: tx0 suppress ID --reason "..." writes the comment for it.
tx0 explain tx0/sql:format-argument-count shows the same in the terminal. Found a false positive? Report it.