OK, just go with a boolean and admins can decide if they want it.
--------------------------------------------------------------------------- Tom Lane wrote: > "Ross J. Reedstrom" <[EMAIL PROTECTED]> writes: > > I agree that a 'trimmed' query is likely to be useless, but the idea of > > printing the query on ERROR is a big win for me: > > Certainly. I think though that an on-or-off GUC option is sufficient. > We don't need a length, and we definitely don't need code to strip out > whitespace as Bruce was suggesting ... > > regards, tom lane > -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster