warning: pg_query() [function.pg-query]: Query failed: ERROR: function lpad(integer, integer, unknown) does not exist
LINE 1: ...(n.moderate = 0 AND n.status = 1) AND CONCAT(cast(LPAD(n.nid...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts. in /var/www/raleigh510/includes/database.pgsql.inc on line 139.
user warning:
query: SELECT COUNT(n.nid) FROM node n INNER JOIN term_node tn ON n.nid = tn.nid WHERE n.type <> 'acidfree' AND tn.tid = 2 AND (n.moderate = 0 AND n.status = 1) AND CONCAT(cast(LPAD(n.nid, 10, '0') as char), cast(LPAD(n.nid, 10, '0') as char)) < '00000000070000000007' and n.nid <> 7 in /var/www/raleigh510/sites/all/modules/acidfree/acidfree.module on line 2220.