Re: [BUGS] index corruption on composite primary key indexes

2010-12-15 Thread Ng, Stan
From: Mikael Krantz [mailto:m...@zigamorph.se] Sent: Tuesday, December 14, 2010 4:36 PM To: Ng, Stan Cc: Craig Ringer; pgsql-bugs@postgresql.org Subject: Re: [BUGS] index corruption on composite primary key indexes I'm afraid that I'm a bit out of my depth when it comes to index corruption. I

Re: [BUGS] index corruption on composite primary key indexes

2010-12-14 Thread Ng, Stan
Just to follow up -- I did find the error in the pgsql logs after all, although it does not contain any additional information. i.e.: PSTERROR: duplicate key value violates unique constraint -Original Message- From: Ng, Stan Sent: Tuesday, December 14, 2010 10:42 AM To: 'Craig R

Re: [BUGS] index corruption on composite primary key indexes

2010-12-14 Thread Ng, Stan
icleClassGroupIdIC=t1.VehicleClassGroupIdI C where VehicleUsedICCGRadiusCache.VehicleUsedSearchRadius is null -Original Message----- From: Craig Ringer [mailto:cr...@postnewspapers.com.au] Sent: Tuesday, December 14, 2010 4:47 AM To: Ng, Stan Cc: pgsql-bugs@postgresql.org Subject: Re: [BUGS] index cor

[BUGS] index corruption on composite primary key indexes

2010-12-14 Thread Ng, Stan
I've noticed what appears to be index corruption on composite primary key indexes during my testing. Data deletes, updates, and inserts are applied from delta data that is loaded into temporary tables. The duplicate key error occurs at different points in time and isn't isolated to any single table