Closed (fixed)
Project:
Acidfree Albums
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2006 at 21:43 UTC
Updated:
4 Jul 2006 at 17:36 UTC
SELECT n.nid, child FROM node n INNER JOIN acidfree ON n.nid = acidfree.aid INNER JOIN acidfree_hierarchy ON acidfree.aid = acidfree_hierarchy.child WHERE acidfree_hierarchy.parent = '' AND acidfree.class <>'album' ORDER BY RAND() LIMIT 1
Trying to add an album with parent as root. Postgresql does not like the empty string for acidfree_hierarchy.parent
postgresql 8.1 report
SQL error:
ERROR: invalid input syntax for integer: ""
Comments
Comment #1
vhmauery commentedIs this on a new install? I am not sure that this is a postgress only thing since it appears that the actual query is wrong. The acidfree_hierarchy.parent should be an actual integer value, not ''.
I am not seeing such a problem with my install, so I am going to need some more information. Of course, I am using mysql, so I might not see the same problems. But anything else about your setup that you can tell me would be good.
Comment #2
vhmauery commented