Jim Jones <jim(dot)jones(at)uni-muenster(dot)de> writes:
> While investigating a libxml2 behaviour I found a bug in
> xmltotext_with_options(): xmlserialize(.. indent) can crash the backend.
Ugh, that's a pretty obvious thinko in hindsight :-(.
Pushed, thanks for the patch!
regards, tom lane