X-Original-To: pgsql-hackers@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 91EF4475D3B for ; Wed, 7 May 2003 10:19:30 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id C1D55475CE5 for ; Wed, 7 May 2003 10:19:28 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h47EJPU6026875; Wed, 7 May 2003 10:19:26 -0400 (EDT) To: =?ISO-8859-1?Q?Dennis_Bj=F6rklund?= Cc: jim@nasby.net, Josh Berkus , pgsql-performance , pgsql-hackers@postgresql.org Subject: Re: [PERFORM] Hypothetical suggestions for planner, indexing In-reply-to: References: Comments: In-reply-to =?ISO-8859-1?Q?Dennis_Bj=F6rklund?= message dated "Wed, 07 May 2003 09:36:52 +0200" Date: Wed, 07 May 2003 10:19:25 -0400 Message-ID: <26874.1052317165@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-26.0 required=5.0 tests=BAYES_01,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/147 X-Sequence-Number: 38654 =?ISO-8859-1?Q?Dennis_Bj=F6rklund?= writes: > I guess it's specified in the SQL spec, but how come a tuple is not an > expression? If it had been an expression the first part of that section > would still apply, which is why I just read the first part. Well, if you want to think of "(42, 'foo')" as being an expression then I suppose it could be considered to be all one syntax. Personally I think that'd be more confusing rather than less so. Another alternative is to put both syntax summaries at the top of the subsection, and combine the two textual descriptions into one. This is the wrong place for this discussion, though. If you want to have a go at rewriting the section, why not put up a sketch on pgsql-docs and see if people like it? regards, tom lane