Modify ↓
#158 closed defect (fixed)
Postgres-backed trac installations fail due to IFNULL not existing
Reported by: | brian | Owned by: | jornh |
---|---|---|---|
Priority: | normal | Component: | PlannedMilestonesMacro |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.8 |
Description
Postgres Trac installations do not have an IFNULL function which is used in the SQL query. Instead, you must change it to COALESCE() which will have the same effect in this instance:
"ORDER BY (coalesce(due, 0) = 0) ASC, due ASC, name" % time()
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Postgresql syntax is NULLIF (versus IFNULL)