Re: how is that possible

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: how is that possible
Дата
Msg-id 20060210144551.GB6650@surnet.cl
обсуждение исходный текст
Ответ на how is that possible  (ohp@pyrenet.fr)
Список pgsql-hackers
ohp@pyrenet.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: ohp@pyrenet.fr
Дата:
Сообщение: how is that possible
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: how is that possible