Hi Kristoff,
Well spotted!
The table appointments is created as heap with noduplicates.
The table this_sucks was created as select * from appointments...which
creates a table in which duplicates are allowed.
Ergo the modify to hash silently removed duplicates from appointments
but not from this_sucks.
Where exactly is that documented behaviour?
Marty
-----Original Message-----
From: info-ingres-bounces (AT) kettleriver...ting (DOT) com
[mailto:info-ingres-bounces (AT) kettleriverconsulting (DOT) com] On Behalf Of
Kristoff
Sent: 11 December 2008 08:26
To: info-ingres (AT) kettleriverconsulting (DOT) com
Subject: Re: [Info-Ingres] When a modify chops a table...
Quote:
I've never seen anything like that one before, and I can't really
think
of any obvious way that it could happen. What was the storage
structure of centre_id before the bad modify? |
In general there is one possibility where modify removes rows
silently. This is when the table is a heap and defined with
"noduplicates". In a heap table "noduplicates" isn't checked, but when
modifying to another structure duplicate rows are silently removed -
this is the expected and documented behaviour.
This is probably not the case here, I would expect the same behaviour
for the first modify too, but just to let you know. When I saw this
the first time I was really surprised .......
Cheers
Kristoff
_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://www.kettleriverconsulting.com...fo/info-ingres