X-Original-To: pgsql-patches-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A5520329E74 for ; Tue, 21 Sep 2004 00:23:30 +0100 (BST) 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 58729-05 for ; Mon, 20 Sep 2004 23:23:22 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 21CAA329E6A for ; Tue, 21 Sep 2004 00:23:24 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id i8KNNGtK023047; Mon, 20 Sep 2004 19:23:16 -0400 (EDT) To: Greg Stark Cc: mailreg@numerixtechnology.de, pgsql-patches@postgresql.org Subject: Re: [SQL] COUNT(*) to find records which have a certain number of dependencies ? In-reply-to: <87y8j4fwmb.fsf@stark.xeocode.com> References: <414EF3E6.9040202@numerixtechnology.de> <87llf4hjv2.fsf@stark.xeocode.com> <414F348A.2020608@numerixtechnology.de> <877jqohdoj.fsf@stark.xeocode.com> <414F43A8.8000101@numerixtechnology.de> <87y8j4fwmb.fsf@stark.xeocode.com> Comments: In-reply-to Greg Stark message dated "20 Sep 2004 17:39:40 -0400" Date: Mon, 20 Sep 2004 19:23:16 -0400 Message-ID: <23046.1095722596@sss.pgh.pa.us> From: Tom Lane 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: 200409/218 X-Sequence-Number: 13080 Greg Stark writes: > This patch allows subqueries without aliases. This is SQL-non-spec-compliant > syntax that Oracle supports and many users expect to work. AFAIR you're the first to propose that we ignore the SQL spec here. When I wrote "see if anyone complains", I had in mind waiting for quite a few complaints before contemplating changing this... regards, tom lane