Log statement length limit

Поиск
Список
Период
Сортировка
От Brian Herlihy
Тема Log statement length limit
Дата
Msg-id 690897.68160.qm@web52302.mail.re2.yahoo.com
обсуждение исходный текст
Список pgsql-general
Hi,

How do I get postgres to log only the first n characters of a command?

Actually, ideal would be if it would log the structure of the command but cut short any long data values.  Such as

UPDATE table SET value = 'something really long which is cut ...' WHERE pkey = 'foo'

The idea being that I don't care too much what value is, but I need to know foo.

Thanks!
Brian


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

Предыдущее
От: Michael Schmidt
Дата:
Сообщение: Re: sequence
Следующее
От: Ted Byers
Дата:
Сообщение: Simpler dump?