The latest hook_update_N() in uc_cart includes "WHERE ... delta=0", treating delta as an integer field, when it is really a varchar field. PostgreSQL does not automatically convert numbers to strings, and fails with the error message:
ERROR: operator does not exist: character varying = integer [warning]
LINE 1: ...ending Registrations' WHERE module = 'uc_cart'
AND delta = 0
Attached patch fixes the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_cart-update-pgsql.patch | 528 bytes | john franklin |
Comments
Comment #1
john franklin commentedPatch was attached.
Comment #3
longwaveCommitted, thanks for the patch.