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 ('edmunds.com', '-871310079'),('edmunds.com', '1063353146'),('newcar-leases.com', '1116152031'),('newcar-leases.com', '1116152031'),('vw.com', '-836683394'),('vw.com', '-666838642'),('chevrolet.com', '-872413936'),('chevrolet.com', '-872413936'),('chevrolet.com', '-857175949'),('chevrolet.com', '-857175949'),('mazdausa.com', '-2128516271'),('mazdausa.com', '-2128516271'),('dealersclearinglots.com', '1116152031'),('dealersclearinglots.com', '1116152031'),('buyatoyota.com', '1137361610'),('buyatoyota.com', '1137361610'),('lithiahyundaireno.com', '-809846470'),('lithiahyundaireno.com', '-809846470'),('lithiahyundaireno.com', '-809846470'),('lithiahyundaireno.com', '-809846470'),('chevrolet.com', '-872413936'),('chevrolet.com', '-872413936'),('chevrolet.com', '-857175949'),('chevrolet.com', '-857175949'),('lithiahyundaireno.com', '-809846470'),('lithiahyundaireno.com', '-809846470'),('lithiahyundaireno.com', '-809846470'),('lithiahyundaireno.com', '-809846470'),('chevrolet.com', '-872413936'),('chevrolet.com', '-872413936'),('chevrolet.com', '-857175949'),('chevrolet.com', '-857175949'),('newcar-leases.com', '1116152031'),('newcar-leases.com', '1116152031'),('lithiahyundaireno.com', '-809846470'),('lithiahyundaireno.com', '-809846470'),('lithiahyundaireno.com', '-809846470'),('lithiahyundaireno.com', '-809846470'),('mazdausa.com', '-2128516271'),('mazdausa.com', '-2128516271'),('dealersclearinglots.com', '1116152031'),('dealersclearinglots.com', '1116152031'),('buyatoyota.com', '1137361610'),('buyatoyota.com', '1137361610'),('vw.com', '-836683394'),('vw.com', '-666838642'),('edmunds.com', '-871310079'),('edmunds.com', '1063353146')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)