X-Original-To: pgsql-advocacy-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 79C6DDA95C for ; Fri, 21 Oct 2005 15:17:53 -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 80408-08 for ; Fri, 21 Oct 2005 18:17:50 +0000 (GMT) Received: from servata.com (ip-216-152-249-226.servata.com [216.152.249.226]) by svr1.postgresql.org (Postfix) with ESMTP id 47B5DDA957 for ; Fri, 21 Oct 2005 15:17:51 -0300 (ADT) Received: from [66.74.199.70] (helo=[192.168.1.108]) by servata.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1ET1Se-0005Cs-Tz; Fri, 21 Oct 2005 11:17:49 -0700 Message-ID: <435930CC.1090705@empires.org> Date: Fri, 21 Oct 2005 11:17:48 -0700 From: Jeff Davis User-Agent: Debian Thunderbird 1.0.7 (X11/20051001) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jan Wieck Cc: SCassidy@overlandstorage.com, pgsql-advocacy@postgresql.org Subject: Re: [GENERAL] Oracle buys Innobase References: <43588398.9050100@empires.org> <4358FB57.7000809@Yahoo.com> In-Reply-To: <4358FB57.7000809@Yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.036 required=5 tests=[AWL=0.036] X-Spam-Level: X-Archive-Number: 200510/303 X-Sequence-Number: 7938 Jan Wieck wrote: > On 10/21/2005 1:58 AM, Jeff Davis wrote: > >> SCassidy@overlandstorage.com wrote: >> >>> A "PostgreSQL to Oracle converter" might be a really big project. >>> >>> Having ported an application from PostgreSQL (7.3) to Oracle 9i, as I >>> recall, my biggest problems were: >>> >>> - Quoting issues: the original PostgreSQL application quoted >>> integer/numeric type, and Oracle will not allow that, so I had to >>> make sure >>> only types that had to be quoted, were. (I normally do not quote >>> numbers >>> in PostgreSQL, but I inherited the application). >> >> >> What does the standard say about that? Which types of values in Oracle >> need to not be quoted? > > > Section 5.3 of SQL92 defines: > > ::= > > | > > ::= > > | > > ::= > > | > | > | > | > | > > The Restrictions for Entry level SQL say that > > a) A shall not be a literal>. > > b) A shall not be a or > . > > There are no restrictions that say a cannot be a > . is defined without quotes, but from > the above I conclude that a is allowed instead of a > to represent a numeric value, which means Oracle is > wrong IMNSVHO. > Interesting. > No reason to swell your breast though, we aren't perfect in the literal > area either. Because > > ::= > > |