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 ('bankofamerica.com', '-1415470675'),('bankofamerica.com', '-1415593555'),('creditcards.com', '1121660521'),('creditcards.com', '1121660521'),('smartcreditchoices.com', '1161894758'),('smartcreditchoices.com', '1161894758'),('bestcreditoffers.com', '644641416'),('bestcreditoffers.com', '644641416'),('bestcreditoffers.com', '644641416'),('bestcreditoffers.com', '644641416'),('e-wisdom.com', '1136663251'),('e-wisdom.com', '1136663251'),('penfed.org', '-805028347'),('penfed.org', '-805028347'),('creditcardguide.com', '-811975564'),('creditcardguide.com', '-811975564'),('capitalone.com', '-800051088'),('capitalone.com', '-800051088'),('bestcreditoffers.com', '644641416'),('bestcreditoffers.com', '644641416'),('bestcreditoffers.com', '644641416'),('bestcreditoffers.com', '644641416'),('creditcardguide.com', '-811975564'),('creditcardguide.com', '-811975564'),('creditcards.com', '1121660521'),('creditcards.com', '1121660521'),('smartcreditchoices.com', '1161894758'),('smartcreditchoices.com', '1161894758'),('penfed.org', '-805028347'),('penfed.org', '-805028347'),('bankofamerica.com', '-1415470675'),('bankofamerica.com', '-1415593555'),('bestcreditoffers.com', '644641416'),('bestcreditoffers.com', '644641416'),('bestcreditoffers.com', '644641416'),('bestcreditoffers.com', '644641416'),('e-wisdom.com', '1136663251'),('e-wisdom.com', '1136663251'),('capitalone.com', '-800051088'),('capitalone.com', '-800051088')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)