Pattern
Time/Date Type Mismatch
time-date-type-mismatch
Timestamp math and time abstractions fail when runtime types don’t match expected SQL/runtime signatures (e.g., converting bytea/strings to dates or relying on raw floats), causing missing-function errors or incorrect elapsed/cooldown behavior.