From: Michael Tremer Date: Thu, 20 Nov 2025 16:30:23 +0000 (+0000) Subject: importer: Accept ASNs larger than PostgreSQL's integer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02f56fdc2c73ef773ec6972094c645708890f5b5;p=location%2Flibloc.git importer: Accept ASNs larger than PostgreSQL's integer We seem to be importing some garbage here which makes the temporary table overflow. Therefore we are increase the maximum size of the ASN field to be able to render the database. Any invalid data is being filtered out regardless. Signed-off-by: Michael Tremer --- diff --git a/src/scripts/location-importer.in b/src/scripts/location-importer.in index 4072784..1ff818c 100644 --- a/src/scripts/location-importer.in +++ b/src/scripts/location-importer.in @@ -379,7 +379,7 @@ class CLI(object): n ( network inet NOT NULL, - autnum integer, + autnum bigint, country text, is_anonymous_proxy boolean, is_satellite_provider boolean,