psql \copy

Поиск
Список
Период
Сортировка
От
Тема psql \copy
Дата
Msg-id 785199B14156764C8EB14EF96CEDC44EE02D99@xw-exch03.lfv.se
обсуждение исходный текст
Ответы Re: psql \copy  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-general

Hi. I’m trying to execute this command:

C:\P_bin\psql -h 10.233.37.24 -p 5432 -U tester -d test -w  -c "\copy public.BadenWuerttemberg_20181011 FROM C:\data\Baden-Wuerttemberg.csv' WITH DELIMITER ';' CSV"

Error:  relation "public.badenwuerttemberg_20181011" does not exist.

What am I Doing wrong?

 

There is a table (badenwuerttemberg_20181011) in database test under the public schema. The table has all the columns, with the right types, as the csv-file.

I’m using PostgreSQL 11

Kind regards,

Paul

В списке pgsql-general по дате отправления:

Предыдущее
От: Achilleas Mantzios
Дата:
Сообщение: Re: One way replication in PostgreSQL
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: psql \copy