Re: how is that possible

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: ohp(at)pyrenet(dot)fr
Cc: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: how is that possible
Date: 2006-02-10 14:45:51
Message-ID: 20060210144551.GB6650@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

ohp(at)pyrenet(dot)fr wrote:

> test=# create table t1 (i int primary key);
> NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "t1_pkey" for table "t1"
> CREATE TABLE
> test=# create table t2 (i int references t2 1 on deley te cascade on update cascade
> );

The t2.i column is nullable. There is no bug here. Declare NOT NULL if
that's what you want.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2006-02-10 14:48:02 Re: how is that possible
Previous Message ohp 2006-02-10 14:40:02 how is that possible