Re: log sql?

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: log sql?
Дата
Msg-id 20020729084413.A8252@mail.libertyrms.com
обсуждение исходный текст
Ответ на log sql?  (Laurette Cisneros <laurette@nextbus.com>)
Ответы Re: log sql?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
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).

A

--
----
Andrew Sullivan                               87 Mowat Avenue
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M6K 3E3
                                         +1 416 646 3304 x110


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

Предыдущее
От: Tourtounis Sotiris
Дата:
Сообщение: Problematic Index Scan
Следующее
От: Darren Ferguson
Дата:
Сообщение: Re: Limit on updates made in a transaction