Hi there,
I hope I'm using the correct address for this. If not, would you please
so kind to redirect me to the correct address, if possible?
The COPY statement in the attached query-ug2887.htm from the PostgreSQL
User's Guide is explain with a typo.
While it is written:
'COPY INTO weather FROM '/home/user/weather.txt'
USING DELIMITERS '|';'
the correct version must be without the 'INTO':
'COPY weather FROM '/home/user/weather.txt'
USING DELIMITERS '|';'
It took me half an hour to look for COPY with \h COPY in psql instead of
trusting the web documentation :-(
Greetings from Hannover, Germany and thanks for your work on Postgres!
Georg
--
Georg Vollmers, M.A., HDI V.a.G., Zentrale Informationsverarbeitung,
Verfahrenstechnik, Phone +49 511 6454854 Fax +49 511 645114854
email: Vollmers@HDI.de, Georg.Vollmers@Z.HDI.de
privat: georg@egalize.han.de
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера