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 ('boatstogo.com', '-870631147'),('boatstogo.com', '-870631147'),('alibaba.com', '-2131591423'),('alibaba.com', '-2131591423'),('all-starinflatables.com', '1125116018'),('balloonstomorrow.com', '1211432861'),('balloonstomorrow.com', '1211432861'),('saferwholesale.com', '1168304535'),('saferwholesale.com', '1168304535'),('offshore-chicago.com', '1114735388'),('onestepahead.com', '-666844055'),('onestepahead.com', '-666844055'),('best-price.com', '1223261898'),('sunsetinflatables.com', '-654541122'),('sunsetinflatables.com', '1150209417'),('offshore-chicago.com', '1114735388'),('sunsetinflatables.com', '-654541122'),('sunsetinflatables.com', '1150209417'),('balloonstomorrow.com', '1211432861'),('balloonstomorrow.com', '1211432861'),('best-price.com', '1223261898'),('saferwholesale.com', '1168304535'),('saferwholesale.com', '1168304535'),('alibaba.com', '-2131591423'),('alibaba.com', '-2131591423'),('onestepahead.com', '-666844055'),('onestepahead.com', '-666844055'),('boatstogo.com', '-870631147'),('boatstogo.com', '-870631147')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)