Uncaught exception: unknown error entry: (function => errorHandler, args => Array, )
File: /var/www/serpanalytics.com/html/include/pgsql.class.php (Line: 88)
Function: pg_query
File: /var/www/serpanalytics.com/html/keyword_new.php (Line: 280)
Function: query
pg_query(): Query failed: ERROR: operator does not exist: text >= bigint
LINE 9: join ip2country on (a.column2 >= ip2country.begin and a.c...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
/*|usr|sbin|httpd
*/
select
a.column1 as domain,
ip2country.code,
ip2country.country
from
(values ('obandcenters.com', '-820823441'),('bestbuy.com', '1224095514'),('bestbuy.com', '-971605241'),('straighttalk.com', '1101516906'),('straighttalk.com', '1131117202'),('att.com', '1611723153'),('att.com', '-1868528048'),('travelocity.com', '-1748901807'),('travelocity.com', '-1748901807'),('wireless.amazon.com', '1209388875'),('couponmountain.com', '1117872038'),('couponmountain.com', '1117872038'),('myrateplan.com', '1210057714'),('myrateplan.com', '-1366297357'),('myrateplan.com', '1210057714'),('myrateplan.com', '-1366297357'),('att.com', '1611723153'),('att.com', '-1868528048'),('travelocity.com', '-1748901807'),('travelocity.com', '-1748901807'),('bestbuy.com', '1224095514'),('bestbuy.com', '-971605241'),('obandcenters.com', '-820823441'),('wireless.amazon.com', '1209388875'),('straighttalk.com', '1101516906'),('straighttalk.com', '1131117202'),('couponmountain.com', '1117872038'),('couponmountain.com', '1117872038')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)