pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc G. Fournier <scrappy@postgresql.org>
To: Richard_D_Levine@raytheon.com
Cc: pgsql-general@postgresql.org
Subject: Re: [pgsql-advocacy] Oracle buys Innobase
Date: Wed, 19 Oct 2005 13:02:15 -0300 (ADT)
Message-ID: <20051019130022.Q995@ganymede.hub.org> (raw)
In-Reply-To: <OFD2FCB0E2.76776F7E-ON0525709F.00526298-0525709F.00530C07@ftw.us.ray.com>
References: <OFD2FCB0E2.76776F7E-ON0525709F.00526298-0525709F.00530C07@ftw.us.ray.com>

On Wed, 19 Oct 2005, Richard_D_Levine@raytheon.com wrote:

>
>
> pgsql-general-owner@postgresql.org wrote on 10/19/2005 12:35:25 AM:
>
>> Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
>>> Strangely a pgsql to oracle exporter is a good thing.  It'd be a great
>>> feature of PostgreSQL.  Imagine how many people would start on
>>> PostgreSQL if they KNEW that one day they could easily move to Oracle
> if
>>> they needed to.  Risk management.
>>
>> Problem is: to offer such a thing with a straight face, we'd have to
>> confine ourselves to an Oracle-subset version of SQL.  For instance,
>> lose the ability to distinguish empty-string from NULL.
>
> Yep.  It is not just limited to empty strings; An all blank string, no
> matter the number of characters, is stored as NULL.  And a corollary to
> that idiocy is that a string with two blank characters is not equal to a
> string with a single blank character in Oracle.  'a  ' is not equal to 'a
> '.  'a ' is not equal to 'a'.  Port that to another database.  Seen the
> JOIN syntax? *sigh*

Wait, I've lost something here, apparently ... but that is the case with 
PostgreSQL as well:

ams=# select ' a' = '  a';
  ?column?
----------
  f
(1 row)

Let me guess ... MySQL treats them as equal??

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664



view thread (241+ messages)  latest in thread

Message-ID: <20051019130022.Q995@ganymede.hub.org>
Permalink:  ../20051019130022.Q995@ganymede.hub.org/
Also on:    postgresql.org/message-id/20051019130022.Q995@ganymede.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: scrappy@postgresql.org, Richard_D_Levine@raytheon.com
  Subject: Re: [pgsql-advocacy] Oracle buys Innobase
  In-Reply-To: <20051019130022.Q995@ganymede.hub.org>
  References: <OFD2FCB0E2.76776F7E-ON0525709F.00526298-0525709F.00530C07@ftw.us.ray.com> <20051019130022.Q995@ganymede.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox