Open utterances-bot opened 3 years ago
Im getting this error while copying the ASN csv ERROR: invalid input syntax for integer: "1.0.0.0/24" CONTEXT: COPY geoip_locations, line 2, column geoname_id: "1.0.0.0/24"
@devarshigoswami I think you may be attempting to copy the country blocks csv file (meant for the geoip_blocks
table) into the geoip_locations
table. Or your table columns are not ordered correctly.
At what point in the tutorial do you see this error?
How to import MaxMind's GeoLite2 Database to PostgreSQL
How to import MaxMind's GeoLite2 Database to PostgreSQL (≥9.6)
https://colinwilson.uk/2019/07/22/how-to-import-maxminds-geolite2-database-to-postgresql/