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 ('couponalbum.com', '1125315335'),('couponalbum.com', '1125315335'),('vons.com', '-1483599851'),('vons.com', '1224199504'),('kelloggs.com', '201448323'),('kelloggs.com', '201448323'),('shop.albertsons.com', '-668760607'),('cabelas.com', '1611087987'),('cabelas.com', '1611087987'),('cabelas.com', '-808250484'),('cabelas.com', '-808250484'),('cabelas.com', '1611087987'),('cabelas.com', '1611087987'),('cabelas.com', '-808250484'),('cabelas.com', '-808250484'),('bettycrocker.com', '-1727163369'),('bettycrocker.com', '-1727163369'),('shop.albertsons.com', '-668760607'),('couponalbum.com', '1125315335'),('couponalbum.com', '1125315335'),('cabelas.com', '1611087987'),('cabelas.com', '1611087987'),('cabelas.com', '-808250484'),('cabelas.com', '-808250484'),('kelloggs.com', '201448323'),('kelloggs.com', '201448323'),('bettycrocker.com', '-1727163369'),('bettycrocker.com', '-1727163369'),('vons.com', '-1483599851'),('vons.com', '1224199504')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)