Re: Logging question

Поиск
Список
Период
Сортировка
От Paul Tillotson
Тема Re: Logging question
Дата
Msg-id 41EC7D2C.1070203@shentel.net
обсуждение исходный текст
Ответ на Logging question  (Madison Kelly <linux@alteeve.com>)
Ответы Re: Logging question  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Madison Kelly wrote:

> Hi all,
>
>   This is probably an easy question but I couldn't my answer in the
> docs (I probably looked right at it...).
>
>   Is there any way I can log and/or display database calls for a
> specific database? I am trying to debug a third party program and I
> can see that the problem probably has something to do with the DB call
> (and insert statement). I normally would use a print inside the
> program to see what is being called but this program uses DB calls in
> a way I am not familiar with. If could see what is actually being sent
> it would make my life a lot easier.

http://www.ethereal.com/

I use ethereal (on the client--although it would possibly work on the
server too) in such a case.  It's a bit messy but if you just want to
see what SQL statements were being run, then it works.  I also saw some
where that the new version of ethereal has a dissector for Postgres,
which would presumably show you the communication between the client and
server in a nicely-formatted way.

Paul Tillotson

В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Logging question
Следующее
От: Tony Caduto
Дата:
Сообщение: Re: Logging question