"Michael Paesold" <mpaesold(at)gmx(dot)at> writes:
>> Per SQL spec, the backend thinks that /* .. */ nests:
> It is now fixed in the attached patch.
Applied with some additional cleanup (the code wasn't multibyte-aware,
and so could get fooled in some Far Eastern encodings).
> Concerning my other patch that also touches psql/common.c (Rollback of only
> last statement), have you looked into it?
I have not.
regards, tom lane