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 ('chicagocomedy.com', '1074657459'),('kevinvinermagic.com', '1208211356'),('tjohne.com', '-798112660'),('gourmeteventshawaii.com', '1218937652'),('fourseasons.com', '-1536349916'),('fourseasons.com', '-1536349916'),('smartsourcerentals.com', '-834170065'),('cvent.com', '1074691860'),('cvent.com', '1074691860'),('sixflags.com', '1210075356'),('sixflags.com', '1210075356'),('tjohne.com', '-798112660'),('gourmeteventshawaii.com', '1218937652'),('chicagocomedy.com', '1074657459'),('cvent.com', '1074691860'),('cvent.com', '1074691860'),('fourseasons.com', '-1536349916'),('fourseasons.com', '-1536349916'),('kevinvinermagic.com', '1208211356'),('smartsourcerentals.com', '-834170065'),('sixflags.com', '1210075356'),('sixflags.com', '1210075356')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)