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 ('theaudiobookstore.com', '1116152099'),('theaudiobookstore.com', '1116152099'),('target.com', '1209389701'),('target.com', '-1579056477'),('perkins.org', '1160838302'),('perkins.org', '1160838302'),('perkins.org', '1160838302'),('perkins.org', '1160838302'),('barnesandnoble.com', '-789728747'),('barnesandnoble.com', '-789728747'),('barnesandnoble.com', '-789728650'),('barnesandnoble.com', '-789728650'),('emusic.com', '1128797823'),('emusic.com', '1611088535'),('simplyaudiobooks.com', '-777242248'),('simplyaudiobooks.com', '-777242248'),('perkins.org', '1160838302'),('perkins.org', '1160838302'),('perkins.org', '1160838302'),('perkins.org', '1160838302'),('barnesandnoble.com', '-789728747'),('barnesandnoble.com', '-789728747'),('barnesandnoble.com', '-789728650'),('barnesandnoble.com', '-789728650'),('theaudiobookstore.com', '1116152099'),('theaudiobookstore.com', '1116152099'),('barnesandnoble.com', '-789728747'),('barnesandnoble.com', '-789728747'),('barnesandnoble.com', '-789728650'),('barnesandnoble.com', '-789728650'),('target.com', '1209389701'),('target.com', '-1579056477'),('emusic.com', '1128797823'),('emusic.com', '1611088535'),('perkins.org', '1160838302'),('perkins.org', '1160838302'),('perkins.org', '1160838302'),('perkins.org', '1160838302'),('simplyaudiobooks.com', '-777242248'),('simplyaudiobooks.com', '-777242248')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)