In date_api_sql.inc, there's a missing "break;" following line 199, which causes some SQLite code to be executed in place of the PostgreSQL code. The error complains about the missing datetime() function, and is the cause for a bug reported against the Calendar module.

I've attached a simple, quick patch that fixes this, though the line isn't really hard to find on its own. ;-)

CommentFileSizeAuthor
date-7.x-dev-postgresql.patch421 bytesAnonymous (not verified)

Comments

karens’s picture

Status: Active » Fixed

It would definitely break PostgreSQL. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.