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 ('tripres.com', '1114929744'),('tripres.com', '1114929744'),('booking.com', '1052648648'),('booking.com', '1052648648'),('vegasview.com', '1114929884'),('vegasview.com', '1114929884'),('americanexpress.com', '203252884'),('americanexpress.com', '203252884'),('americanexpress.com', '203252884'),('americanexpress.com', '203252884'),('travelzoo.com', '1343012928'),('travelzoo.com', '-862429924'),('expedia.com', '1611666569'),('expedia.com', '-654608362'),('hotels-and-discounts.com', '1254960490'),('hotels-and-discounts.com', '1254960490'),('hotwire.com', '1080004257'),('hotwire.com', '1080004257'),('americanexpress.com', '203252884'),('americanexpress.com', '203252884'),('americanexpress.com', '203252884'),('americanexpress.com', '203252884'),('marriott.com', '1611788719'),('marriott.com', '-837753967'),('marriott.com', '1611788719'),('marriott.com', '-837753967'),('expedia.com', '1611666569'),('expedia.com', '-654608362'),('vegasview.com', '1114929884'),('vegasview.com', '1114929884'),('travelzoo.com', '1343012928'),('travelzoo.com', '-862429924'),('americanexpress.com', '203252884'),('americanexpress.com', '203252884'),('americanexpress.com', '203252884'),('americanexpress.com', '203252884'),('hotels-and-discounts.com', '1254960490'),('hotels-and-discounts.com', '1254960490'),('booking.com', '1052648648'),('booking.com', '1052648648'),('tripres.com', '1114929744'),('tripres.com', '1114929744')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)