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 ('keller.edu', '-815661138'),('keller.edu', '-815661138'),('cias.rit.edu', '-2129270889'),('kaplan.edu', '1218884901'),('kaplan.edu', '1218884901'),('floridatechonline.com', '1132910363'),('floridatechonline.com', '1132910363'),('online.southuniversity.edu', '1092940567'),('choosedevry.com', '1109251937'),('choosedevry.com', '1109251937'),('rc.edu', '-800222541'),('rc.edu', '-800222541'),('gcu.edu', '-1986520646'),('gcu.edu', '-1986520646'),('online.southuniversity.edu', '1092940567'),('kaplan.edu', '1218884901'),('kaplan.edu', '1218884901'),('choosedevry.com', '1109251937'),('choosedevry.com', '1109251937'),('keller.edu', '-815661138'),('keller.edu', '-815661138'),('cias.rit.edu', '-2129270889'),('gcu.edu', '-1986520646'),('gcu.edu', '-1986520646'),('rc.edu', '-800222541'),('rc.edu', '-800222541'),('floridatechonline.com', '1132910363'),('floridatechonline.com', '1132910363')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)