| От | Matthew Vernon |
|---|---|
| Тема | Re: COPY FROM in psql |
| Дата | |
| Msg-id | 877gpftgw2.fsf@macbeth.sac.ac.uk обсуждение исходный текст |
| Ответ на | COPY FROM in psql (Matthew Vernon <matthew.vernon@sac.ac.uk>) |
| Список | pgsql-general |
tgl@sss.pgh.pa.us (Tom Lane) writes: > Matthew Vernon <matthew.vernon@sac.ac.uk> writes: >> naiively, you might try: >> \set pwd '\'' `pwd` '\'' >> COPY table FROM :pwd || '/relative/path/to/data' ; > > Umm ... why don't you just use a relative path as-is, with \copy > instead of COPY? Thanks for the suggestion, but I was avoiding \copy because the quantities of data involved are large, and the documentation suggests that COPY is better than \copy for large data volumes. Thanks, Matthew -- Matthew Vernon Quantitative Veterinary Epidemiologist Epidemiology Research Unit, SAC Inverness
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера