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 ('kaplan.edu', '1218884901'),('kaplan.edu', '1218884901'),('devry.edu', '-815661141'),('devry.edu', '-815661141'),('americansentinel.edu', '1108502215'),('americansentinel.edu', '1108502215'),('computertrainingschools.com', '1210057352'),('computertrainingschools.com', '1210057352'),('degrees.nu.edu', '1208207343'),('regis.edu', '-815934620'),('regis.edu', '-815934620'),('mustuniversity.com', '-775646019'),('mustuniversity.com', '-775646019'),('epp.jhu.edu', '-2133039766'),('mustuniversity.com', '-775646019'),('mustuniversity.com', '-775646019'),('kaplan.edu', '1218884901'),('kaplan.edu', '1218884901'),('epp.jhu.edu', '-2133039766'),('devry.edu', '-815661141'),('devry.edu', '-815661141'),('computertrainingschools.com', '1210057352'),('computertrainingschools.com', '1210057352'),('americansentinel.edu', '1108502215'),('americansentinel.edu', '1108502215'),('regis.edu', '-815934620'),('regis.edu', '-815934620')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)