Upond reindexing the site using postgresql as underlying drupal db I get

* warning: pg_query() [function.pg-query]: Query failed: ERROR: function unix_timestamp() does not exist LINE 1: ... INTO xapian_index_queue (nid, added) SELECT nid, UNIX_TIMES... ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. in /var/www/apeoe/includes/database.pgsql.inc on line 139.
* user warning: query: INSERT INTO xapian_index_queue (nid, added) SELECT nid, UNIX_TIMESTAMP() FROM node in /var/www/apeoe/modules/xapian/xapian.module on line 863.

Comments

marvil07’s picture

Status: Active » Needs review
Issue tags: +PostgreSQL
StatusFileSize
new861 bytes

Thanks for reporting it!

This patch should solve the problem, please test it.

marvil07’s picture

Status: Needs review » Fixed
StatusFileSize
new1.19 KB

I setup an own pg environment :-), so I test it, change it and finally commit it ;-)

marvil07’s picture

for the record: commited to HEAD and DRUPAL-6--1

Status: Fixed » Closed (fixed)
Issue tags: -PostgreSQL

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