log sql?

Поиск
Список
Период
Сортировка
Искать

log sql?

От:
Laurette Cisneros <laurette@nextbus.com>
Дата:

Is there way to track each sql statement and the user for the server?

Thanks,

-- 
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
"Intelligence complicates. Wisdom simplifies." 
  -- Mason Cooley 

Re: log sql?

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

See postgresql.conf config file for some of this info.  However, looking
at the file, I don't see an way to get this info into the log file. 
Folks?


---------------------------------------------------------------------------

Laurette Cisneros wrote:
> 
> Is there way to track each sql statement and the user for the server?
> 
> Thanks,
> 
> -- 
> Laurette Cisneros
> The Database Group
> (510) 420-3137
> NextBus Information Systems, Inc.
> www.nextbus.com
> ----------------------------------
> "Intelligence complicates. Wisdom simplifies." 
>   -- Mason Cooley 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
FAQ