pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Thom Brown <thombrown@gmail.com>
Cc: Joseph Conway <mail@joeconway.com>
Cc: Dave Page <dpage@pgadmin.org>
Cc: Steve Atkins <steve@blighty.com>
Cc: pgsql-docs <pgsql-docs@postgresql.org>
Subject: Re: Railroad diagrams, a-la sqlite
Date: Sat, 17 Jul 2010 17:04:18 -0400
Message-ID: <13866.1279400658@sss.pgh.pa.us> (raw)
In-Reply-To: <4C4215CD.6020500@enterprisedb.com>
References: <2AACFC47-C121-4549-B015-AC4FCA9380CE@blighty.com>
	<AANLkTikzQCj8kJPAINMSGjypjKbWxmcXe2WqWqeenKxU@mail.gmail.com>
	<AANLkTiniHvonP00ltJgXsB1xOyUPggmrWA4V05PKov5L@mail.gmail.com>
	<AANLkTimBZvb554biF3gZyVfFdAdswnj9AZdC03UVUzXw@mail.gmail.com>
	<4C4212F8.1080704@joeconway.com>
	<AANLkTikLI4bnKUw0VTk48swJAAEJbs1jCIXBPSyBq3Az@mail.gmail.com>
	<4C4215CD.6020500@enterprisedb.com>

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> On 17/07/10 23:36, Thom Brown wrote:
>> On 17 July 2010 21:30, Joseph Conway<mail@joeconway.com>  wrote:
>>> Oracle SELECT:
>>> http://download.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_10002.htm

>> Yeah, that kinda chaotic.  Looks like a sadistic puzzle from the
>> Krypton Factor. :S

> Mind you, that syntax is genuinely complex. It would look chaotic using 
> the text representation we currently use as well.

Well, our own SELECT syntax isn't exactly short:
http://developer.postgresql.org/pgdocs/postgres/sql-select.html

The problem I personally see with railroad diagrams is that there's
so much whitespace in 'em.  Our current SELECT syntax diagram fits on
a page, more or less, but it would span multiple pages in railroad form.
That doesn't make for a leap forward in comprehensibility IMO.

			regards, tom lane



view thread (15+ messages)  latest in thread

Message-ID: <13866.1279400658@sss.pgh.pa.us>
Permalink:  ../13866.1279400658@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13866.1279400658@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, heikki.linnakangas@enterprisedb.com, thombrown@gmail.com, mail@joeconway.com, dpage@pgadmin.org, steve@blighty.com
  Subject: Re: Railroad diagrams, a-la sqlite
  In-Reply-To: <13866.1279400658@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox