Почему ошибка при импорте значений в таблицу PostgreSql?
есть таблица
Geo - network(cidr not null), geoname_id(bigint)
при импорте выдает
2:1: conversion failed: "1.0.0.0/24" to cidr (network)
3:1: conversion failed: "1.0.1.0/24" to cidr (network)
4:36: actual: end of file, expected: value
COPY mp_geo_networks(
network, geoname_id, registered_country_geoname_id, represented_country_geoname_id,
is_anonymous_proxy, is_satellite_provider, postal_code, latitude, longitude, accuracy_radius
) from 'Users/mamba/Downloads/GeoIP2-City-Europe-CSV_20210903/GeoIP2-City-Europe-Blocks-IPv4.csv' with (format csv, header)
public> COPY mp_geo_networks(
network, geoname_id, registered_country_geoname_id, represented_country_geoname_id,
is_anonymous_proxy, is_satellite_provider, postal_code, latitude, longitude, accuracy_radius
) from 'Users/mamba/Downloads/GeoIP2-City-Europe-CSV_20210903/GeoIP2-City-Europe-Blocks-IPv4.csv' with (format csv, header)
[2021-09-03 12:43:20] [58P01] ERROR: could not open file "Users/mamba/Downloads/GeoIP2-City-Europe-CSV_20210903/GeoIP2-City-Europe-Blocks-IPv4.csv" for reading: No such file or directory
[2021-09-03 12:43:20] Подсказка: COPY FROM instructs the PostgreSQL server process to read a file. You may want a client-side facility such as psql's \copy.