| От | Christoph Haller |
|---|---|
| Тема | Re: Special characters in SQL queries |
| Дата | |
| Msg-id | 3E6EEC5B.E979BF20@rodos.fzk.de обсуждение исходный текст |
| Ответ на | Special characters in SQL queries (Vernon Wu <vernonw@gatewaytech.com>) |
| Список | pgsql-sql |
> > I don't program in C at all, but Java. Although I can make a way to call the C library function > from Java, it isn't suitable solution, I believe. > I only desire to find out all the type of characters at the present time so that I can strip out any > potential problem sources in text. Who know what characters a user will enter. > As Victor Yegorov mentioned Take a look at the source code of PQescapeString() in the source distribution of postgres. I hope, you'll find all the chars you're interested in. or refer to Binary Strings within the Data Types chapter of the doc. This shows how to deal with "non-printables" and "printables". Regards, Christoph
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера