X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CF136D1B73E for ; Wed, 23 Jun 2004 13:26:54 -0300 (ADT) 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 21440-09 for ; Wed, 23 Jun 2004 16:26:48 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 5BA11D1B519 for ; Wed, 23 Jun 2004 13:26:46 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i5NGQkRv003358; Wed, 23 Jun 2004 12:26:46 -0400 (EDT) To: Clive Page Cc: pgsql-sql@postgresql.org Subject: Re: Non-standard function names In-reply-to: References: Comments: In-reply-to Clive Page message dated "Wed, 23 Jun 2004 16:45:41 +0100" Date: Wed, 23 Jun 2004 12:26:46 -0400 Message-ID: <3357.1088008006@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: 200406/217 X-Sequence-Number: 18162 Clive Page writes: > The problems come with LN and LOG which Postgres uses for logarithms to > base e and 10 respectively: the JDBC standard uses LOG and LOG10 > respectively, so that any fix would mean LOG changed its meaning. I don't > see an easy solution here; maybe both LOGE and LOG10 could be provided, at > least there would then be only one difference from the JDBC standard. loge() strikes me as pointless; you might as well just use ln(). I don't have any objections to the other proposed additions though. regards, tom lane