Project:Privatemsg
Version:6.x-1.0-rc2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

# warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "pmi" at character 17 in /home/forum/drupal-6.9/includes/database.pgsql.inc on line 139.
# user warning: query: UPDATE pm_index pmi SET is_new = 0 WHERE uid = 1 AND is_new = 1 AND mid

Comments

#1

Status:active» needs review

Which PostgreSQL version are you using ?

I can't reproduce the error with PostgreSQL 8.3 but the pmi isn't needed anyway, so please test the attached patch

AttachmentSizeStatusTest resultOperations
privatemsg.pgsql_fix_set_new_status.patch864 bytesIgnored: Check issue status.NoneNone

#2

Status:needs review» fixed

Small and to the point, just how i like 'em ;)

Thanks!

#3

Status:fixed» closed (fixed)

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