A PostgreSQL column uses money, char(n), timestamp without time zone or serial
What it finds
Column types the PostgreSQL documentation and community advise against: money, whose values depend on a locale setting; char(n), which pads with blanks; timestamp without time zone, which stores no zone and is read in whatever zone a client assumes; and serial, whose sequence is not tied to the column as an identity column is.
From the rule's source, postgres_type_choice.rs.
Turn it on, off or suppress it
The rule runs from the strict tier up. To turn it on in a lower tier, give it a level in tx0.toml:
[rules]
"tx0/sql:postgres-type-choice" = "warning"To keep one finding, suppress it with a reason: tx0 suppress ID --reason "..." writes the comment for it.
tx0 explain tx0/sql:postgres-type-choice shows the same in the terminal. Found a false positive? Report it.