Re: Violation of NOT NULL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Wm(dot) G(dot) Urquhart" <wgu(at)wurquhart(dot)co(dot)uk>
Cc: PostgreSQL General Forum <pgsql-general(at)postgresql(dot)org>
Subject: Re: Violation of NOT NULL
Date: 2002-05-23 13:59:59
Message-ID: 5135.1022162399@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Wm. G. Urquhart" <wgu(at)wurquhart(dot)co(dot)uk> writes:
> I have a table where I've set two of the columns (varchar()) to be NOT
> NULL. However, PostgreSQL allows me to enter rows without valid data for
> these columns when I use a Stored Function.

I don't really believe this, and I'm certainly not likely to be able to
reproduce it with nothing but an INSERT to go on. Please provide a
*complete* example, preferably in the form of a script that can be fed
to psql to exhibit the problem starting from an empty database.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2002-05-23 14:09:53 Re: MacOS X Shared Buffers (SHMMAX)?
Previous Message Peter Darley 2002-05-23 13:56:05 Process balancing on smp db server/apache web server