On Mon, Dec 28, 2009 at 2:58 PM, JORGE MALDONADO <jorgemal1960(at)gmail(dot)com> wrote:
> 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.
Richard Broersma Jr.
Visit the Los Angeles PostgreSQL Users Group (LAPUG)
In response to
pgsql-novice by date
|Next:||From: Jasen Betts||Date: 2009-12-29 02:40:03|
|Subject: Re: CHILD WITHOUT PARENT (TEMPORARILY)|
|Previous:||From: JORGE MALDONADO||Date: 2009-12-28 22:58:59|
|Subject: CHILD WITHOUT PARENT (TEMPORARILY)|