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 2CE2ADA912 for ; Fri, 21 Oct 2005 11:30:07 -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 27417-08 for ; Fri, 21 Oct 2005 14:30:02 +0000 (GMT) Received: from smtp100.mail.sc5.yahoo.com (smtp100.mail.sc5.yahoo.com [216.136.174.138]) by svr1.postgresql.org (Postfix) with SMTP id A2CB9DA931 for ; Fri, 21 Oct 2005 11:30:04 -0300 (ADT) Received: (qmail 76136 invoked from network); 21 Oct 2005 14:29:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=Yahoo.com; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=GMmt7ZoOkI2WN3RDTBbkAzj4ilbfl9WkicqJw+/rap2K2NL0FpXc8fbElmiEfCpr6CXNvIz87V8/2WPGREuhrnHUrM4EQOMZGn40Gf3CFCmge5tVwozDC5IHa8D+2/KyojVr2pfD1LTWLHJWoVMr+DSngPgOdRvOPW17UI74z3s= ; Received: from unknown (HELO jupiter.black-lion.info) (janwieck@68.80.245.191 with login) by smtp100.mail.sc5.yahoo.com with SMTP; 21 Oct 2005 14:29:58 -0000 Received: from [172.21.8.23] (ismtp.afilias.com [216.217.55.254]) (authenticated bits=0) by jupiter.black-lion.info (8.12.10/8.12.9) with ESMTP id j9LETn1o005720; Fri, 21 Oct 2005 10:29:49 -0400 (EDT) (envelope-from JanWieck@Yahoo.com) Message-ID: <4358FB57.7000809@Yahoo.com> Date: Fri, 21 Oct 2005 10:29:43 -0400 From: Jan Wieck User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Davis Cc: SCassidy@overlandstorage.com, pgsql-advocacy@postgresql.org Subject: Re: [GENERAL] Oracle buys Innobase References: <43588398.9050100@empires.org> In-Reply-To: <43588398.9050100@empires.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.128 required=5 tests=[AWL=-0.088, DNS_FROM_RFC_ABUSE=0.374, FORGED_RCVD_HELO=0.05, RCVD_IN_NJABL_DUL=1.655, RCVD_IN_SORBS_DUL=0.137] X-Spam-Level: ** X-Archive-Number: 200510/298 X-Sequence-Number: 7933 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 . 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. No reason to swell your breast though, we aren't perfect in the literal area either. Because ::= |