Copy function syntax on 8.1

Поиск
Список
Период
Сортировка
От Mike G.
Тема Copy function syntax on 8.1
Дата
Msg-id 20050830162218.GA9793@localhost.localdomain
обсуждение исходный текст
Ответы Re: Copy function syntax on 8.1  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Copy function syntax on 8.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hi,

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? 

Mike

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

Предыдущее
От: "Oren Mazor"
Дата:
Сообщение: Re: array vs flat tables performance
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Copy function syntax on 8.1