Closed (fixed)
Project:
Advanced Poll
Version:
5.x-1.0-beta6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2008 at 13:52 UTC
Updated:
3 Aug 2008 at 23:22 UTC
As in #272445: update_3 error : db_drop_column
Error:
# warning: pg_query() [function.pg-query]: Query failed: ERROR: column "advpoll_binary" does not exist LINE 1: UPDATE node SET type = "advpoll_binary" WHERE type = "advpol... ^ in /home/maho/workspace/longturn.org/includes/database.pgsql.inc on line 125.
# user warning: query: UPDATE node SET type = "advpoll_binary" WHERE type = "advpoll-binary" in /home/maho/workspace/longturn.org/includes/database.pgsql.inc on line 144.
Because postgresql treats "something" as object(table/key/whatever) called "something" , not as varchar with content "something".
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| update_7.diff | 662 bytes | maho |
Comments
Comment #1
ChrisKennedy commentedGood call, thanks. Fixed.
http://drupal.org/cvs?commit=128773
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.