Re: log sql?

Поиск
Список
Период
Сортировка
От nconway@klamath.dyndns.org (Neil Conway)
Тема Re: log sql?
Дата
Msg-id 20020730141207.GB13322@klamath.dyndns.org
обсуждение исходный текст
Ответ на Re: log sql?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
On Tue, Jul 30, 2002 at 12:14:16AM -0400, Bruce Momjian wrote:
> Andrew Sullivan wrote:
> > On Fri, Jul 26, 2002 at 03:27:45PM -0700, Laurette Cisneros wrote:
> > >
> > > Is there way to track each sql statement and the user for the server?
> >
> > Sort of.  Turn on query logging in the postgresql.conf file, and also
> > log connections and PID.  Then, you can track back by using the PID,
> > to discovere who logged in (and therefore, who issued that query).
>
> Andrew, what postgresql.conf parameter is query logging.

debug_print_query

Cheers,

Neil

--
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC

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

Предыдущее
От: Ewald Geschwinde
Дата:
Сообщение: Re: advanced book ?
Следующее
От: "Markus Wollny"
Дата:
Сообщение: Re: tsearch - Regression tests fail