| От | Tom Lane |
|---|---|
| Тема | Re: Copy function syntax on 8.1 |
| Дата | |
| Msg-id | 22656.1125419988@sss.pgh.pa.us обсуждение |
| Ответ на | Copy function syntax on 8.1 ("Mike G." <mike@thegodshalls.com>) |
| Ответы |
Re: Copy function syntax on 8.1
|
| Список | pgsql-novice |
"Mike G." <mike@thegodshalls.com> writes:
> In testing 8.1 I turned on the escape_string_warning. Now when I issue a COPY FROM / TO 'C:\\test' I am getting the
"nonstandard.." warning since file paths in Windows use the \ character. I can clear the warning by changing the
syntaxto E'C:\\test'.
> Is their a way to properly escape the \ without using E or will the COPY function have to modified internally to not
returna warning if a \ is passed in the file path?
Why do you think COPY should be modified? This is exactly the case that
the warning is intended to warn about.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера