Uncaught exception: unknown error entry: (function => errorHandler, args => Array, )
File: /var/www/serpanalytics.com/html/include/pgsql.class.php (Line: 88)
Function: pg_query
File: /var/www/serpanalytics.com/html/keyword_new.php (Line: 280)
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 ('sos-usa.org', '1360141691'),('sos-usa.org', '1360141691'),('children.org', '-1953327804'),('children.org', '-1953327804'),('savethechildren.org', '1101064733'),('savethechildren.org', '1101064733'),('samaritanspurse.org', '-1367228086'),('samaritanspurse.org', '-1367226150'),('helpanorphan.org', '-665374109'),('helpanorphan.org', '-665374109'),('childfoundation.org', '1109618665'),('feedthechildren.org', '1110271777'),('feedthechildren.org', '1110271749'),('waitingchildfund.org', '1150211485'),('helpanorphan.org', '-665374109'),('helpanorphan.org', '-665374109'),('orphancareintl.org', '1093009739'),('children.org', '-1953327804'),('children.org', '-1953327804'),('savethechildren.org', '1101064733'),('savethechildren.org', '1101064733'),('helpanorphan.org', '-665374109'),('helpanorphan.org', '-665374109'),('orphancareintl.org', '1093009739'),('waitingchildfund.org', '1150211485'),('sos-usa.org', '1360141691'),('sos-usa.org', '1360141691'),('feedthechildren.org', '1110271777'),('feedthechildren.org', '1110271749'),('samaritanspurse.org', '-1367228086'),('samaritanspurse.org', '-1367226150')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)