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 ('hotels.com', '1224156705'),('hotels.com', '-654606827'),('doubletree.hilton.com', '-872413926'),('ramada.com', '-807296126'),('ramada.com', '-807296126'),('marriott.com', '1611788719'),('marriott.com', '-837753967'),('familyvacationcritic.com', '1077004070'),('familyvacationcritic.com', '1077004070'),('staybridge.com', '404589145'),('staybridge.com', '412074098'),('booking.com', '1052648648'),('booking.com', '1052648648'),('hotelreservation.com', '1223261900'),('hotelreservation.com', '1223261900'),('hotelreservation.com', '1223261900'),('hotelreservation.com', '1223261900'),('choicehotels.com', '1343012938'),('choicehotels.com', '-1883242436'),('hotelreservation.com', '1223261900'),('hotelreservation.com', '1223261900'),('hotelreservation.com', '1223261900'),('hotelreservation.com', '1223261900'),('hotelreservation.com', '1223261900'),('hotelreservation.com', '1223261900'),('hotelreservation.com', '1223261900'),('hotelreservation.com', '1223261900'),('marriott.com', '1611788719'),('marriott.com', '-837753967'),('doubletree.hilton.com', '-872413926'),('ramada.com', '-807296126'),('ramada.com', '-807296126'),('familyvacationcritic.com', '1077004070'),('familyvacationcritic.com', '1077004070'),('booking.com', '1052648648'),('booking.com', '1052648648'),('choicehotels.com', '1343012938'),('choicehotels.com', '-1883242436'),('hotels.com', '1224156705'),('hotels.com', '-654606827'),('staybridge.com', '404589145'),('staybridge.com', '412074098')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)