AntiPattern
SQL Dialect and Hooks Drift
sql-dialect-hooks-drift
PostgreSQL breaks queries and schema setup when SQL dialect assumptions (e.g., to_date on bytea) and ORM lifecycle hooks drift from what the database/metadata actually supports, causing runtime SQL errors, mis-ordered schema events, and mismatched expectations about query execution.