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 ('ceiva.com', '1132950447'),('compusa.com', '-826309834'),('compusa.com', '-826309834'),('compusa.com', '-826309839'),('compusa.com', '-826309839'),('ebay.com', '1121165399'),('ebay.com', '1121170699'),('circuitcity.com', '-826309839'),('circuitcity.com', '-826309864'),('digiframes.com', '1116003883'),('digiframes.com', '1116003883'),('philips.com', '412074081'),('philips.com', '-1588006020'),('newegg.com', '-871443013'),('newegg.com', '-871443013'),('newegg.com', '-871443015'),('newegg.com', '-871443015'),('consumersearch.com', '-806251339'),('consumersearch.com', '-806251339'),('compusa.com', '-826309834'),('compusa.com', '-826309834'),('compusa.com', '-826309839'),('compusa.com', '-826309839'),('newegg.com', '-871443013'),('newegg.com', '-871443013'),('newegg.com', '-871443015'),('newegg.com', '-871443015'),('ebay.com', '1121165399'),('ebay.com', '1121170699'),('compusa.com', '-826309834'),('compusa.com', '-826309834'),('compusa.com', '-826309839'),('compusa.com', '-826309839'),('digiframes.com', '1116003883'),('digiframes.com', '1116003883'),('ceiva.com', '1132950447'),('newegg.com', '-871443013'),('newegg.com', '-871443013'),('newegg.com', '-871443015'),('newegg.com', '-871443015'),('circuitcity.com', '-826309839'),('circuitcity.com', '-826309864'),('consumersearch.com', '-806251339'),('consumersearch.com', '-806251339'),('philips.com', '412074081'),('philips.com', '-1588006020')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)