pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Geoff Tolley <geoff@polimetrix.com>
To: Andrew Sullivan <ajs@crankycanuck.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: Differentiate Between Zero-Length String and NULLColumn Values
Date: Tue, 30 Jan 2007 10:14:26 -0800
Message-ID: <45BF8B02.1050607@polimetrix.com> (raw)
In-Reply-To: <20070130165503.GC32170@phlogiston.dyndns.org>
References: <20070130131334.GD31676@phlogiston.dyndns.org>
	<45BF584F.A3DD.0030.0@indicator.be>
	<20070130142332.GA31905@phlogiston.dyndns.org>
	<20070130113834.fa8d09e0.darcy@druid.net>
	<20070130165503.GC32170@phlogiston.dyndns.org>

Andrew Sullivan wrote:

> AFAIK they don't accept the latter any more than we do.  But again,
> I'm an Oracle ignoramous.  I _do_ know that people of my acquaintance
> who have historically only developed against Oracle have given me
> queries with things like 
> 
> 	value = ''
> 
> in it, and been surprised.  Or at least, I think it's like that.  I
> do recall hearing a lot about how stupid Postgres was because it
> didn't like something that worked "perfectly well" on Oracle, which I
> was assured was the most SQL-compliant system on the planet. 
> Happily, I no longer work with any of those people :)

At my last job I used Oracle 8i and 9i (standard editions), and I very 
definitely remember the pain of it interpreting the empty string as a 
NULL (especially relevant when input needed trimming).

- Geoff



view thread (15+ messages)  latest in thread

Message-ID: <45BF8B02.1050607@polimetrix.com>
Permalink:  ../45BF8B02.1050607@polimetrix.com/
Also on:    postgresql.org/message-id/45BF8B02.1050607@polimetrix.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: geoff@polimetrix.com, ajs@crankycanuck.ca
  Subject: Re: Differentiate Between Zero-Length String and NULLColumn Values
  In-Reply-To: <45BF8B02.1050607@polimetrix.com>

* 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