| От | Thomas Kellerer |
|---|---|
| Тема | Re: PostgreSQL Developer Best Practices |
| Дата | |
| Msg-id | mredi2$j9r$1@ger.gmane.org обсуждение исходный текст |
| Ответ на | Re: PostgreSQL Developer Best Practices (Melvin Davidson <melvin6925@gmail.com>) |
| Список | pgsql-general |
Melvin Davidson schrieb am 22.08.2015 um 21:40: > Thank you for pointing out "run with standard_conforming_strings = ON".. > However, that is NOT the problem. > What is occurring is that the developers are sending strings like 'Mr. M\'vey', > which, if we set standard_conforming_strings = ON, would, and does, result in errors and the statement failing, > which is a lot less desirable that a simple warning. > > Therefore, I am trying to educate the developers in the proper method of escaping strings, > instead of loading up the error log with annoying warnings. I strongly disagree: the error is not "annoying" and the statement _should_ fail. The only way you can make the developers stop using that non-standard syntax is to make the satement fail. Thomas
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера