| От | Alvaro Herrera |
|---|---|
| Тема | Re: Import SVG file |
| Дата | |
| Msg-id | 20050201173316.GA6585@dcc.uchile.cl обсуждение |
| Ответ на | Re: Import SVG file (Phil Endecott <spam_from_postgresql_general@chezphil.org>) |
| Список | pgsql-general |
On Tue, Feb 01, 2005 at 04:48:10PM +0000, Phil Endecott wrote: Hi, > > Have I to do some byte-stuffing before the import? > > Yes, you will have to do the necessary escaping. I think that the > postgres C library has code to do this, and others have mentioned the > possibilities with other languages. You cannot do it with anything > quite as simple as the one line of psql that you posted. If you are using C then you may as well use PQexecParams() and pass the datum as a pointer. Then you don't need to escape anything. -- Alvaro Herrera (<alvherre[@]dcc.uchile.cl>) "World domination is proceeding according to plan" (Andrew Morton)
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера