From: Oliver Elphick <olly@lfix.co.uk>
To: Stephan Bauer <stephan_bauer@gmx.de>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] NOT NULL and postgres 6.5.2
Date: Sat, 16 Oct 1999 19:48:26 +0100
Message-ID: <199910161848.TAA23996@linda.lfix.co.uk> (raw)
In-Reply-To: <stephan_bauer@gmx.de> <3808BF7A.A83120D5@gmx.de>
References: <3808BF7A.A83120D5@gmx.de>
Stephan Bauer wrote:
>Hello all,
>
>I have an table like this:
>
>CREATE TABLE anzeigen (
>...
>
> name varchar(30) NOT NULL,
>...
>);
>
>The following statement _will_ be inserted:
>
>INSERT INTO anzeigen ( ... name ...)
>VALUES ( ..., '', ...);
>
>What is my problem?
An empty string is not the same as null. It is a real value whereas null
is an unknown/undefined/irrelevant value.
--
Vote against SPAM: http://www.politik-digital.de/spam/
========================================
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
========================================
"But be ye doers of the word, and not hearers only,
deceiving your own selves." James 1:22
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-sql@postgresql.org
Cc: olly@lfix.co.uk, stephan_bauer@gmx.de
Subject: Re: [SQL] NOT NULL and postgres 6.5.2
In-Reply-To: <199910161848.TAA23996@linda.lfix.co.uk>
References: <3808BF7A.A83120D5@gmx.de> <199910161848.TAA23996@linda.lfix.co.uk>
* 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