AntiPattern
SQL Function Type Mismatch
sql-function-type-mismatch
PostgreSQL queries fail because argument types don’t match available function signatures (e.g., to_date(bytea, unknown)), while developers also struggle with numeric and date formatting differences. The stake is runtime errors or incorrect string/number representations.