Philip Warner <pjw@rhyme.com.au> writes:
> Attached. It has some trivial-looking rejects on current CVS. Let me know
> if you would prefer me to do the work, or want some testing done. It was
> tested (in terms of output validity) with 8.0b1.
Applied with minor cleanups.
regards, tom lane