Re: inserting/updating a field with the contents of a text file
В списке pgsql-novice по дате отправления:
| От | Richard Broersma Jr |
|---|---|
| Тема | Re: inserting/updating a field with the contents of a text file |
| Дата | |
| Msg-id | 61899.71997.qm@web31801.mail.mud.yahoo.com обсуждение исходный текст |
| Ответ на | Re: inserting/updating a field with the contents of a text file ("Phillip Smith" <phillip.smith@weatherbeeta.com.au>) |
| Ответы |
Re: inserting/updating a field with the contents of a text file
|
| Список | pgsql-novice |
--- Phillip Smith <phillip.smith@weatherbeeta.com.au> wrote:
> Backslash ('\') will also cause problems. Replace them with double-backslash
> ('\\')
You can turn alter postgresql behavior towards backslash using standard_conforming_strings.
SET standard_conforming_strings = on;
http://www.postgresql.org/docs/8.2/static/runtime-config-compatible.html#RUNTIME-CONFIG-COMPATIBLE-VERSION
This way backslashes are treated as any other character.
when you are done:
SET standard_conforming_strings = off;
Regards,
Richard Broersma Jr.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера