Re: Referential integrity doesn't work?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Referential integrity doesn't work?
Дата
Msg-id 20020801113816.K30534-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Referential integrity doesn't work?  (Manuel Cano Muñoz <manuel@adai-it.com>)
Ответы Re: Referential integrity doesn't work?  (Manuel Cano Muñoz <manuel@adai-it.com>)
Список pgsql-general
On 1 Aug 2002, Manuel Cano [ISO-8859-1] Mu�oz wrote:


> liman@linux:~/proyectos/cange> psql prueba
> Welcome to psql, the PostgreSQL interactive terminal.
>
> Type:  \copyright for distribution terms
>        \h for help with SQL commands
>        \? for help on internal slash commands
>        \g or terminate with semicolon to execute query
>        \q to quit
>
> prueba=# select * from conceptos;
>  id | id_tabla1 |         descripcion         | borrado
> ----+-----------+-----------------------------+---------
>   0 |           | Este es el primer registro  | f
>   1 |           | Este es el segundo registro | f
>   2 |           | Este es el tercer registro  | f
> (3 rows)

It looks to me that it's either treating id_tabla1 as
NULL (which passes the constraint) or 0 (which passes the
constraint).  What version are you using?



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

Предыдущее
От: Manuel Cano Muñoz
Дата:
Сообщение: Referential integrity doesn't work?
Следующее
От: Manuel Cano Muñoz
Дата:
Сообщение: Re: Referential integrity doesn't work?