X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 633A8D1DB5D; Mon, 19 Apr 2004 22:03:53 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 84098-06; Mon, 19 Apr 2004 22:03:55 -0300 (ADT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id DB807D1B7F0; Mon, 19 Apr 2004 22:03:50 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i3K13tr15208; Mon, 19 Apr 2004 21:03:55 -0400 (EDT) From: Bruce Momjian Message-Id: <200404200103.i3K13tr15208@candle.pha.pa.us> Subject: Re: Odd formatting in on-line docs In-Reply-To: <11077.1082220941@sss.pgh.pa.us> To: Tom Lane Date: Mon, 19 Apr 2004 21:03:55 -0400 (EDT) Cc: pgsql-www@postgresql.org, pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/158 X-Sequence-Number: 4262 Tom Lane wrote: > The online copies of the documentation misformat > constructs, indenting lines after the first. For example at > > http://www.postgresql.org/docs/7.4/static/sql-syntax.html#SQL-SYNTAX-LEXICAL > > the three example SQL statements should all be indented the same. Older > versions look the same, as do the "interactive" versions. But the > developer version of the docs is fine: > > http://developer.postgresql.org/docs/postgres/sql-syntax.html#SQL-SYNTAX-LEXICAL > > I think this must be some weird interaction between the docs themselves > and the HTML wrapper that's put around them to make the online pages. > Can anyone diagnose this and fix it? Someone must have fixed it: SELECT * FROM MY_TABLE; UPDATE MY_TABLE SET A = 5; INSERT INTO MY_TABLE VALUES (3, 'hi there'); It isn't indented like the developer docs, but it isn't misaligned. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073