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 ('magicmicro.com', '-776028833'),('magicmicro.com', '-776028833'),('shopfujitsu.com', '-656234476'),('shopfujitsu.com', '-656234476'),('microsoft.com', '-819019266'),('microsoft.com', '-819018464'),('computerlx.com', '-776028830'),('computerlx.com', '-776028830'),('target.com', '1209389701'),('target.com', '-1579056477'),('shopping.hp.com', '265887773'),('shopping.hp.com', '265887773'),('dell.com', '-1884888844'),('dell.com', '-1884925146'),('consumerreports.org', '1074667660'),('consumerreports.org', '1074667660'),('rcwilley.com', '1098494151'),('rcwilley.com', '1098494151'),('computerlx.com', '-776028830'),('computerlx.com', '-776028830'),('microsoft.com', '-819019266'),('microsoft.com', '-819018464'),('target.com', '1209389701'),('target.com', '-1579056477'),('consumerreports.org', '1074667660'),('consumerreports.org', '1074667660'),('dell.com', '-1884888844'),('dell.com', '-1884925146'),('rcwilley.com', '1098494151'),('rcwilley.com', '1098494151'),('magicmicro.com', '-776028833'),('magicmicro.com', '-776028833')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)