Re: control max length of parameter values logged - Mailing list pgsql-hackers

From keisuke kuroda
Subject Re: control max length of parameter values logged
Date
Msg-id CANDwggKD_0H0y+4q9KxB7umio=qs9ka1HAY4g8XaDfZPYm=cvQ@mail.gmail.com
Whole thread Raw
In response to Re: control max length of parameter values logged  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Hi,

BIND parameter truncation is good to me.
Logs could be very hard to read due to
the very long parameters recorded.

Now, parameter is extracuted from left.
e.g. "AAAA-BBBB-CCCC-DDDD-EEEE" to "AAAA-BBBB-CCCC..."

Is not necessary from right?
e.g. "AAAA-BBBB-CCCC-DDDD-EEEE" to "...CCCC-DDDD-EEEE"

It is sometimes nice to be able to check
the last of strings. For example, if there
are difference only in the last of strings
of many parameters.

Best Regards,
Keisuke Kuroda



pgsql-hackers by date:

Previous
From: Andy Fan
Date:
Subject: Re: [PATCH] Erase the distinctClause if the result is unique by definition
Next
From: "p.b uday"
Date:
Subject: GSoC applicant proposal, Uday PB