Uncaught exception: unknown error entry: (function => errorHandler, args => Array, )
File: /var/www/serpanalytics.com/html/include/pgsql.class.php (Line: 108)
Function: pg_query
File: /var/www/serpanalytics.com/html/keyword_new.php (Line: 305)
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 ('info.com', '1254955740'),('info.com', '1254955740'),('wellsfargo.com', '-1751689072'),('wellsfargo.com', '-1751708283'),('webcrawler.com', '1128215076'),('webcrawler.com', '1128217124'),('hellolocal.com', '1102495818'),('hellolocal.com', '1102495818'),('ask.com', '1122728037'),('ask.com', '1122728037'),('ask.com', '412074098'),('ask.com', '412074098'),('local.com', '-787974519'),('local.com', '1073467171'),('ask.com', '1122728037'),('ask.com', '1122728037'),('ask.com', '412074098'),('ask.com', '412074098'),('info.com', '1254955740'),('info.com', '1254955740'),('local.com', '-787974519'),('local.com', '1073467171'),('wellsfargo.com', '-1751689072'),('wellsfargo.com', '-1751708283'),('hellolocal.com', '1102495818'),('hellolocal.com', '1102495818'),('webcrawler.com', '1128215076'),('webcrawler.com', '1128217124')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)