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 ('zales.com', '1072721542'),('zales.com', '-837755770'),('gia.edu', '1652651907'),('gia.edu', '1652651907'),('danielsjewelers.com', '-799087863'),('danielsjewelers.com', '-841864541'),('bluenile.com', '-772319703'),('bluenile.com', '-772319544'),('forevergemstones.com', '1138994608'),('forevergemstones.com', '1138994608'),('amazon.com', '-810834180'),('amazon.com', '1209389818'),('jtv.com', '1103548271'),('belenky.com', '-797844217'),('belenky.com', '-797844217'),('artofjewels.com', '1245075563'),('amazon.com', '-810834180'),('amazon.com', '1209389818'),('bluenile.com', '-772319703'),('bluenile.com', '-772319544'),('artofjewels.com', '1245075563'),('belenky.com', '-797844217'),('belenky.com', '-797844217'),('danielsjewelers.com', '-799087863'),('danielsjewelers.com', '-841864541'),('gia.edu', '1652651907'),('gia.edu', '1652651907'),('jtv.com', '1103548271'),('zales.com', '1072721542'),('zales.com', '-837755770'),('forevergemstones.com', '1138994608'),('forevergemstones.com', '1138994608')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)