Log msg

Поиск
Список
Период
Сортировка
От Jie Liang
Тема Log msg
Дата
Msg-id E7E213858379814A9AE48CA6754F5ECB1E1FBF@mail01.stbernard.com
обсуждение исходный текст
Ответы Re: Log msg  (Gaetano Mendola <mendola@bigfoot.com>)
Список pgsql-admin
Hi,All,


How to config log file to log statement without CONTEXT stuff? I want
log query, but not the detail unless there is a problem,
e.g. Delete aaa from mytable where mysqlfunction(bbb);
I want log this statement,
but not any CONTEXT inside mysqlfunction, because it will easily filled
up my disk if mytable have millions of entries, meanwhile, the log file
become useless.
But if I set log_statement = true, log file will log millions of
statement in mysqlfunction, but I set log_statement=false, log file
won't log query at all.
Simply say, I want log what I execute(my query), but not how execute
(process) .

Jie Liang


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: How do I grant access to entire database at once(schemas,tables,sequences,...)?
Следующее
От: "Gregory S. Williamson"
Дата:
Сообщение: Re: Keep a user from creating tables ?