Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id DAF42634658 for ; Thu, 10 Dec 2009 19:08:18 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 50220-05 for ; Thu, 10 Dec 2009 23:08:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 7E0EA633689 for ; Thu, 10 Dec 2009 19:08:11 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id nBAN87Eu028856; Thu, 10 Dec 2009 18:08:07 -0500 (EST) To: Harald Fuchs cc: pgsql-sql@postgresql.org Subject: Re: Window function trouble In-reply-to: References: <25983.1260468559@sss.pgh.pa.us> Comments: In-reply-to Harald Fuchs message dated "Thu, 10 Dec 2009 22:02:00 +0100" Date: Thu, 10 Dec 2009 18:08:07 -0500 Message-ID: <28855.1260486487@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200912/31 X-Sequence-Number: 33469 Harald Fuchs writes: > That being said, I still think that PostgreSQL could do better - how > about naming expression columns so that they are distinct from column > names? Even though the rules we use are pretty arbitrary, I'm hesitant to make changes in them; it seems more likely to break existing applications than to do anyone any good. regards, tom lane