| От | Richard Huxton |
|---|---|
| Тема | Re: How to Log SELECT Statements Having Errors |
| Дата | |
| Msg-id | 4379A053.3010501@archonet.com обсуждение исходный текст |
| Ответ на | How to Log SELECT Statements Having Errors ("Lane Van Ingen" <lvaningen@esncc.com>) |
| Список | pgsql-sql |
Lane Van Ingen wrote: > We are putting a new application on PostgreSQL 8.0.1 (Windows 2003); > we are coming off of MySQL, and are having a hard time finding all of > the offending SQL calls. > > It would help a great deal if I could log the content of any SQL calls > that fail. Am only interested in SELECT statements. I don't know that you can only log SELECT statements that cause errors. It should be simple enough to log all statements that cause errors though: log_min_messages = error log_min_error_statement = error > Noticed the following: > (1) The PostgreSQL manual says that config parm 'log_statement' does > not appear to handle SELECT statements; true? The "all" setting should. -- Richard Huxton Archonet Ltd
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера