Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id EF4F4632D2A for ; Sat, 17 Jul 2010 17:36:49 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 98634-10 for ; Sat, 17 Jul 2010 20:36:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wy0-f174.google.com (mail-wy0-f174.google.com [74.125.82.174]) by mail.postgresql.org (Postfix) with ESMTP id 1AB39632BC1 for ; Sat, 17 Jul 2010 17:36:41 -0300 (ADT) Received: by wyb42 with SMTP id 42so3075313wyb.19 for ; Sat, 17 Jul 2010 13:36:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=1JWmjoMIMqvdcQgrDpA0YptPGo+Vf0UiaIkXb1VYt/k=; b=P93pdGDln3/RY0oP60cjlpvVsiaiVJCs+lupZbnt/05waqaAqrVUoEXNaVSiaG5e0/ zDJIs84wNb5GPBCVUITRq7NJIKwSyMQc2Hl5+ki/4u5sEv5G8iehGP88Wmkem79BTtYP ZgpOWS9omv+YP6I9FE9XUkx1IC4zeCPvk02T4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=Uw530eYSrYjO54VQ8PBh4eK+yLZot8tcRIf1QXjV1wCWVszAhK5zK1ziaOIK+/V9Pb vb1Sda1+oRkblzo2PK6mFV3f26EGzpIzf766k/whvDTWggGncZoRZjytwX+FKv7oLgUX d8btXwNwPFW8gPw8v1o6vpy9pyi/AHrb9DtuY= Received: by 10.227.138.69 with SMTP id z5mr2292687wbt.15.1279399000185; Sat, 17 Jul 2010 13:36:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.184.204 with HTTP; Sat, 17 Jul 2010 13:36:20 -0700 (PDT) In-Reply-To: <4C4212F8.1080704@joeconway.com> References: <2AACFC47-C121-4549-B015-AC4FCA9380CE@blighty.com> <4C4212F8.1080704@joeconway.com> From: Thom Brown Date: Sat, 17 Jul 2010 21:36:20 +0100 Message-ID: Subject: Re: Railroad diagrams, a-la sqlite To: Joseph Conway Cc: Dave Page , Steve Atkins , pgsql-docs Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.8 tagged_above=-5 required=5 tests=BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201007/122 X-Sequence-Number: 5778 On 17 July 2010 21:30, Joseph Conway wrote: > On 7/17/10 1:26 PM, Thom Brown wrote: >> On 17 July 2010 21:23, Dave Page wrote: >>> On Sat, Jul 17, 2010 at 9:19 PM, Thom Brown wrote= : >>>> While they're quite attractive, I actually see them being more >>>> confusing than helpful personally, but I could be wrong. =A0I reckon >>>> there might be clearer ways of representing statement options. =A0The >>>> real problems with the railroad design come when there are lots of >>>> references to other diagrams, and you end up with about 10 just for 1 >>>> statement. >>>> >>>> Is there a way of testing their usefulness? >>> >>> Personal experience? I used to find them quite useful when I was >>> starting out with Informix. >>> >> >> I guess I'm quite used to the existing statement definitions. =A0It's an >> elegant idea, just wondering if it scales sanely. =A0Are the examples of >> more complex statements? > > Oracle SELECT: > > http://download.oracle.com/docs/cd/B14117_01/server.101/b10759/statements= _10002.htm > > Joe > Yeah, that kinda chaotic. Looks like a sadistic puzzle from the Krypton Factor. :S Thom