Re: Monitoring Postgres - Get the SQL queries which are sent to postgres
В списке pgsql-general по дате отправления:
| От | A. Kretschmer |
|---|---|
| Тема | Re: Monitoring Postgres - Get the SQL queries which are sent to postgres |
| Дата | |
| Msg-id | 20061025141144.GA5941@a-kretschmer.de обсуждение |
| Ответ на | Monitoring Postgres - Get the SQL queries which are sent to postgres (Nico Grubert <nicogrubert@gmail.com>) |
| Ответы |
Re: Monitoring Postgres - Get the SQL queries which are sent to postgres
|
| Список | pgsql-general |
am Wed, dem 25.10.2006, um 15:56:17 +0200 mailte Nico Grubert folgendes: > Dear list members, > > I have a web application running that is connected to my postgres > database. This web application builds dynamically SQL queries and > queries the postgres database. I would like to see these SQL queries. > How can I do this? Is there a way to monitor the SQL queries which are > sent to my postgres database? Set this in your postgresql.conf: log_statement = all Reload the server, and then you can find all your statements in the log. Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47215, D1: 0160/7141639 (mehr: -> Header) GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера