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 ('statefarm.com', '-844703082'),('statefarm.com', '-839719530'),('esurance.com', '1062405263'),('esurance.com', '1062405260'),('allstate.com', '-1484821147'),('allstate.com', '-1484821147'),('progressive.com', '-1428499376'),('progressive.com', '-1428499376'),('21st.com', '-790515888'),('21st.com', '-790515888'),('21st.com', '-790515888'),('21st.com', '-790515888'),('travelers.com', '1104934025'),('travelers.com', '1104934025'),('travelers.com', '1104934025'),('travelers.com', '1104934025'),('usaa.com', '-1491593980'),('usaa.com', '1224132827'),('21st.com', '-790515888'),('21st.com', '-790515888'),('21st.com', '-790515888'),('21st.com', '-790515888'),('travelers.com', '1104934025'),('travelers.com', '1104934025'),('travelers.com', '1104934025'),('travelers.com', '1104934025'),('usaa.com', '-1491593980'),('usaa.com', '1224132827'),('progressive.com', '-1428499376'),('progressive.com', '-1428499376'),('statefarm.com', '-844703082'),('statefarm.com', '-839719530'),('21st.com', '-790515888'),('21st.com', '-790515888'),('21st.com', '-790515888'),('21st.com', '-790515888'),('allstate.com', '-1484821147'),('allstate.com', '-1484821147'),('esurance.com', '1062405263'),('esurance.com', '1062405260'),('travelers.com', '1104934025'),('travelers.com', '1104934025'),('travelers.com', '1104934025'),('travelers.com', '1104934025')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)