Re: Bug?: Update on ancestor for a row of a child - Mailing list pgsql-sql

From Kevin Way
Subject Re: Bug?: Update on ancestor for a row of a child
Date
Msg-id 20010924025150.A6840@bean.overtone.org
Whole thread Raw
In response to Bug?: Update on ancestor for a row of a child  (Kovacs Baldvin <kb136@hszk.bme.hu>)
Responses Re: Bug?: Update on ancestor for a row of a child
List 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 by date:

Previous
From: Frederick Klauschen
Date:
Subject: How to enter lists into database.
Next
From: Frederick Klauschen
Date:
Subject: loading array_iterator.so does not work with Postgresql 7.0.3/7.1.3