Uncaught exception: unknown error entry: (function => errorHandler, args => Array, )
File: /var/www/serpanalytics.com/html/include/pgsql.class.php (Line: 88)
Function: pg_query
File: /var/www/serpanalytics.com/html/keyword_new.php (Line: 280)
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 ('cellularsouth.com', '1118802698'),('cellularsouth.com', '1118802698'),('sprint.com', '-828414479'),('sprint.com', '-828414479'),('mycricket.com', '1160495899'),('mycricket.com', '1160495900'),('bestbuy.com', '1224095514'),('bestbuy.com', '-971605241'),('ebay.com', '1121165399'),('ebay.com', '1121170699'),('nextag.com', '-658908521'),('nextag.com', '-658907902'),('ebay.com', '1121165399'),('ebay.com', '1121170699'),('nextag.com', '-658908521'),('nextag.com', '-658907902'),('sprint.com', '-828414479'),('sprint.com', '-828414479'),('cellularsouth.com', '1118802698'),('cellularsouth.com', '1118802698'),('bestbuy.com', '1224095514'),('bestbuy.com', '-971605241'),('mycricket.com', '1160495899'),('mycricket.com', '1160495900')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)