| От | Christoph Haller |
|---|---|
| Тема | Re: Special characters in SQL queries |
| Дата | |
| Msg-id | 3E6E0191.B8F06EBB@rodos.fzk.de обсуждение |
| Ответ на | Special characters in SQL queries (Vernon Wu <vernonw@gatewaytech.com>) |
| Ответы |
Re: Special characters in SQL queries
|
| Список | pgsql-sql |
> > First a single quote in text, when a backforward slash in a file path, what other special characters need padded in t wo > backslashes before using the data in a SQL statement? > > After hours' search in the PostgreSQL archive, I find a releted information on the http://www.ca.postgresql.org/users - > lounge/docs/7.2/postgres/arrays.html. It's about array data though. > > How can I find out those characters so that I can pre-process them before a SQL query? > What about size_t PQescapeString (char *to, const char *from, size_t length); from the libpq - C Library? Regards, Christoph
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера