Re: CHILD WITHOUT PARENT (TEMPORARILY)

Поиск
Список
Период
Сортировка
От Richard Broersma
Тема Re: CHILD WITHOUT PARENT (TEMPORARILY)
Дата
Msg-id 396486430912281505k3f48a7c9j8471c871506de0a4@mail.gmail.com
обсуждение исходный текст
Ответ на CHILD WITHOUT PARENT (TEMPORARILY)  (JORGE MALDONADO <jorgemal1960@gmail.com>)
Список pgsql-novice
On Mon, Dec 28, 2009 at 2:58 PM, JORGE MALDONADO <jorgemal1960@gmail.com> wrote:
>
 The field
> in the child table that connects to its parent is temporarily filled with a
> value of -1... this causes me not to be able to define a foreign key.

Rather than using -1, perhaps you should use null.  This would be a
valid for it.


--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

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

Предыдущее
От: JORGE MALDONADO
Дата:
Сообщение: CHILD WITHOUT PARENT (TEMPORARILY)
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: CHILD WITHOUT PARENT (TEMPORARILY)