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 ('hunts.com', '-867405325'),('kelloggs.com', '201448323'),('kelloggs.com', '201448323'),('kelloggs.com', '201448323'),('kelloggs.com', '201448323'),('couponcodes4u.com', '-857164558'),('couponcodes4u.com', '-802470553'),('vons.com', '-1483599851'),('vons.com', '1224199504'),('ebates.com', '1072445786'),('ebates.com', '1072445786'),('visa.com', '1063345738'),('visa.com', '1211034270'),('mycokerewards.com', '-872413942'),('mycokerewards.com', '-666840747'),('kelloggs.com', '201448323'),('kelloggs.com', '201448323'),('kelloggs.com', '201448323'),('kelloggs.com', '201448323'),('hunts.com', '-867405325'),('ebates.com', '1072445786'),('ebates.com', '1072445786'),('kelloggs.com', '201448323'),('kelloggs.com', '201448323'),('kelloggs.com', '201448323'),('kelloggs.com', '201448323'),('vons.com', '-1483599851'),('vons.com', '1224199504'),('mycokerewards.com', '-872413942'),('mycokerewards.com', '-666840747'),('couponcodes4u.com', '-857164558'),('couponcodes4u.com', '-802470553')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)