Dhanaraj M <Dhanaraj(dot)M(at)Sun(dot)COM> writes:
> I attach the patch for this bug. I have run the regression test and
> passed. please review this and waiting for your reply.
This was already patched ... and your patch as given will not work
anyway; you have to use non-capturing parentheses to avoid breaking
SUBSTRING.
regards, tom lane