David Niergarth <dn@hddesign.com> writes:
> Hopefully not a naive question... How are all the queries in the
> postgres docs formatted? They're all very consistent and nice pretty
> printed, especially complex queries. How can I do the same?
I'm afraid they're all laid out by hand :-(
regards, tom lane