Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id AA395632B5D for ; Sun, 5 Apr 2009 17:42:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 57910-03 for ; Sun, 5 Apr 2009 17:42:06 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from proxy.hddesign.com (cluster.hddesign.com [216.165.191.36]) by mail.postgresql.org (Postfix) with ESMTP id 807FE632954 for ; Sun, 5 Apr 2009 17:42:10 -0300 (ADT) Received: from [192.168.0.3] (h75-100-71-30.vrnawi.dsl.dynamic.tds.net [75.100.71.30]) (authenticated bits=0) by proxy.hddesign.com (8.12.9p2/8.12.9) with ESMTP id n35KfRD8065487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 5 Apr 2009 15:41:28 -0500 (CDT) (envelope-from dn@hddesign.com) Message-ID: <49D9176D.9080307@hddesign.com> Date: Sun, 05 Apr 2009 15:41:17 -0500 From: David Niergarth User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Tom Lane CC: pgsql-docs@postgresql.org Subject: Re: SQL formatting in docs References: <49D8F9CB.4030700@hddesign.com> <28206.1238963848@sss.pgh.pa.us> In-Reply-To: <28206.1238963848@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-hddesign-MailScanner-Information: Please contact the ISP for more information X-hddesign-MailScanner: Found to be clean X-MailScanner-From: dn@hddesign.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/6 X-Sequence-Number: 5094 Thanks for settling that for me; I've always wondered about it! --David Tom Lane wrote: > David Niergarth 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