| От | Craig Ringer |
|---|---|
| Тема | Re: How to log query's from servers ? |
| Дата | |
| Msg-id | 4DECB1C5.70801@postnewspapers.com.au обсуждение исходный текст |
| Ответ на | How to log query's from servers ? (Condor <condor@stz-bg.com>) |
| Ответы |
Re: How to log query's from servers?
|
| Список | pgsql-general |
On 6/06/2011 4:14 PM, Condor wrote: > Hello ppl, > any one can tell me how i make my postgresql server to log commands > coming from another postgres server ? I have one postgresql and give to > 2 other sql server to access my db. I want to log all query's coming > only from one of the servers. Is that possibly ? If the different servers log in with different user accounts or log into different databases you could use database-level or user-level SET commands to set log_statement for only one of them. Otherwise: just grep the logs. -- Craig Ringer Tech-related writing at http://soapyfrogs.blogspot.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера