A query selects * instead of the columns it needs
What it finds
SELECT * reads every column, also the ones nobody uses, which costs I/O and network and defeats covering indexes, and the result changes shape when the table does. Inside EXISTS the select list does not matter and is left alone.
From the rule's source, select_star.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:select-star" = "warning"To keep one finding, suppress it with a reason: tx0 suppress ID --reason "..." writes the comment for it.
tx0 explain tx0/sql:select-star shows the same in the terminal. Found a false positive? Report it.