Log statement length limit - Mailing list pgsql-general

From Brian Herlihy
Subject Log statement length limit
Date
Msg-id 690897.68160.qm@web52302.mail.re2.yahoo.com
Whole thread Raw
List 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 by date:

Previous
From: Michael Schmidt
Date:
Subject: Re: sequence
Next
From: Ted Byers
Date:
Subject: Simpler dump?