Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com> writes:
> Please see attached patch which does what you suggested above. May be it
> needs a little more commentary to record why we made this specific change.
> Please let me know if you think so and want me to do that.
Applied with some cosmetic adjustments and addition of a regression
test.
regards, tom lane