Re: Bug?: Update on ancestor for a row of a child

Поиск
Список
Период
Сортировка
От Kevin Way
Тема Re: Bug?: Update on ancestor for a row of a child
Дата
Msg-id 20010924025150.A6840@bean.overtone.org
обсуждение исходный текст
Ответ на Bug?: Update on ancestor for a row of a child  (Kovacs Baldvin <kb136@hszk.bme.hu>)
Ответы Re: Bug?: Update on ancestor for a row of a child  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-sql
> The problem is: when updating a row in an ancestor table,
> which is really belongs to a child, there's something wrong
> with the CHECK system.

Well, I believe you found one minor problem.  The bigger one is still
lurking in the shadows though.  To duplicate it, take my previous schema,
and add 
       lastlog         TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,           

to the users table, between pass_hash and logged_in.

After doing so, you'll find that postgres actually crashes when you try
to insert a vote into the uservote table.  That's the one that has me
looking at the costs involved with migrating to Oracle.

-Kevin


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

Предыдущее
От: Frederick Klauschen
Дата:
Сообщение: How to enter lists into database.
Следующее
От: Frederick Klauschen
Дата:
Сообщение: loading array_iterator.so does not work with Postgresql 7.0.3/7.1.3