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 ('bestcustomshirt.com', '1627022133'),('bestcustomshirt.com', '1627022134'),('imparali.com', '-798127609'),('mohantailors.com', '1255152356'),('tailor.com', '-843935309'),('tailor.com', '1161888725'),('alexander-west.com', '1137121392'),('beyondbespoke.com', '1152685898'),('beyondbespoke.com', '1152685898'),('garytailor.com', '1152685898'),('garytailor.com', '1152685898'),('beyondbespoke.com', '1152685898'),('beyondbespoke.com', '1152685898'),('alexander-west.com', '1137121392'),('garytailor.com', '1152685898'),('garytailor.com', '1152685898'),('beyondbespoke.com', '1152685898'),('beyondbespoke.com', '1152685898'),('mohantailors.com', '1255152356'),('imparali.com', '-798127609'),('bestcustomshirt.com', '1627022133'),('bestcustomshirt.com', '1627022134'),('tailor.com', '-843935309'),('tailor.com', '1161888725')) as a
join ip2country on (a.column2 >= ip2country.begin and a.column2 <= ip2country.end)