Re: Two weeks to feature freeze - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Two weeks to feature freeze
Date
Msg-id 200306230257.h5N2vfT16430@candle.pha.pa.us
Whole thread Raw
In response to Re: Two weeks to feature freeze  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Two weeks to feature freeze  (The Hermit Hacker <scrappy@postgresql.org>)
Re: Two weeks to feature freeze  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I sure want two-phase commit.  I don't remember it as being rejected,
> > and we certainly need it, independent of replication.
> 
> Is 2PC a real-world solution to any real-world problem?  I have never
> seen a satisfactory explanation of what you do when you've reported that
> you're ready to commit and no confirmation ever comes back.  Sooner or
> later you must violate the protocol in one direction or the other (ie,
> commit without confirmation or roll back in violation of your promise
> of being able to commit).
> 
> I think it's a cool-sounding phrase that does not actually work in
> practice.

I think 2PC can be used to build more complex features, like using dblink
for cross-db modification queries.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Sean Chittenden
Date:
Subject: Re: O_DIRECT in freebsd
Next
From: Sean Chittenden
Date:
Subject: Re: O_DIRECT in freebsd