Instead of having different SQL queries for different db types (mysql/pgsql) as this module does now to handle date/time values, I'd rather use one query that will work on any db type. The patch attached should work in theory, but I have no pgsql testing environment at the moment. I'm also curious if anyone sees any disadvantages to this approach. Tests, reviews and opinions are very welcome.

CommentFileSizeAuthor
auto_expire_no_db_switching.patch3.42 KBmarcvangend

Comments

marcvangend’s picture

Status: Active » Fixed

Tested, discussed on IRC and committed to HEAD.

Status: Fixed » Closed (fixed)

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