Re: Duplicate rows sneaking in despite PRIMARY KEY / UNIQUE

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Travis Cross <travis(at)crosswirecorp(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Duplicate rows sneaking in despite PRIMARY KEY / UNIQUE
Date: 2006-06-06 20:39:26
Message-ID: 20060606203926.GA45331@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 06, 2006 at 12:58:10PM -0400, Travis Cross wrote:
> >Do you *know* that the disk drive will not lie about write
> >complete?
>
> "Know" is such a strong word ;) Honestly, I have very little idea.
> I understand the nature of the problem this presents, as I've read
> the very fine PostgreSQL manual many times over the years.
>
> Because the drives I use are specifically designed to operate well
> in a RAID environment, I would 'hope' that the drives perform honest
> write operations.
>
> I wonder if there is a utility to perform a deterministic test of
> this...

Brad from livejournal.com wrote a utility that does just that, thought
it requires 2 machines to run the test.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-06-06 20:50:28 Re: That EXPLAIN ANALYZE patch still needs work
Previous Message Tom Lane 2006-06-06 19:22:25 Re: That EXPLAIN ANALYZE patch still needs work