X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4A5AB3A402B; Sun, 28 Nov 2004 21:38:55 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21314-05; Sun, 28 Nov 2004 21:38:52 +0000 (GMT) Received: from cmailm1.svr.pol.co.uk (cmailm1.svr.pol.co.uk [195.92.193.18]) by svr1.postgresql.org (Postfix) with ESMTP id BC1853A3AF8; Sun, 28 Nov 2004 21:38:52 +0000 (GMT) Received: from modem-1958.snake.dialup.pol.co.uk ([62.137.119.166] helo=[192.168.0.102]) by cmailm1.svr.pol.co.uk with esmtp (Exim 4.41) id 1CYWks-0002fY-SY; Sun, 28 Nov 2004 21:38:51 +0000 Subject: Re: [PATCHES] SQL conformance related patch From: Simon Riggs To: Peter Eisentraut Cc: Troels Arvin , pgsql-patches@postgresql.org, pgsql-docs@postgresql.org In-Reply-To: <200411262334.16250.peter_e@gmx.net> References: <1101381875.3068.27.camel@localhost> <1101498748.2870.78.camel@localhost.localdomain> <200411262334.16250.peter_e@gmx.net> Content-Type: text/plain Organization: 2nd Quadrant Message-Id: <1101677725.2963.63.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sun, 28 Nov 2004 21:35:25 +0000 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/59 X-Sequence-Number: 2694 On Fri, 2004-11-26 at 22:34, Peter Eisentraut wrote: > Simon Riggs wrote: > > The sections Supported Features and Unsupported Features cover both > > Mandatory (Core) and Optional features in the same section. It would > > be better to separate these, just as the SQL standard itself does in > > Annex F - SQL Feature Taxonomy. > > Please note that all that has been suggested is splitting a table into two pieces, so that it matches the SQL:2003 standard's way of presenting this information, as laid out in Annex F - SQL Feature Taxonomy. I found that arrangement useful in understanding the standard and wished to recommend it to the project. > > This seems especially important for the Unsupported Features section, > > since the length of the list makes it look like 100% support is a > > long way off, whereas it is only 14 features away, and many of them > > minor [see Troels' low hanging fruit list on this thread] > > If the "core" set of features were at all useful in practice then I > would think about this, but it is not, so we'd just end up arranging > the tables for marketing purposes instead of information purposes. Ten > years ago this would have been equivalent to making a separate section > for SQL 92 Entry level and rejoicing upon completion, while realizing > that a real-life DBMS needs at least Intermediate level. I agree completely with your assessment of SQL-92 Entry and Intermediate level. Having recently spent an hour or two looking at the SQL:2003 standard, I don't think the analogy that SQL:2003 Core is similar to SQL-92 Entry level is a useful one. I understand why people would think this, because I would definitely have thought exactly the same, before I looked. For example, Microsoft SQL Server claims SQL-92 Entry level. If SQL:2003 were similar then they would simply switch the claim to SQL:2003 without problem. They do not, because they cannot. Please review what the list of SQL:2003 Core features contains: SAVEPOINTS, outer joins, triggers, derived tables, quantified sub-selects, constraints etc.. but not object-relational features, which are only Optional. IMHO these features are useful in practice. Yes, there are also many Optional features that are also desirable. -- Best Regards, Simon Riggs