Re: [HACKERS] COMMIT - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] COMMIT
Date
Msg-id 366359CE.E6F2769C@krs.ru
Whole thread Raw
In response to COMMIT  (jwieck@debis.com (Jan Wieck))
Responses Re: [HACKERS] COMMIT
Re: [HACKERS] COMMIT
List pgsql-hackers
Jan Wieck wrote:
> 
> Hi,
> 
>     while on the redolog, I've came across a little detail I'm in
>     doubt about. Currently it seems, that the 'C' response to the
>     frontend   is   sent  before  the  transaction  get's  really
>     committed in the backend. So there is a  little  chance  that
>     the    backend   dies   between   this   response   and   the
>     CommitTransaction() call.
> 
>     Isn't that the wrong order? As a programmer I  would  assume,
>     that  if  I have positive response to COMMIT, I can forget my
>     local data because it made it safely into the database.

Yes, this should be fixed...

Vadim


pgsql-hackers by date:

Previous
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] sbufdesc' padding...
Next
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] Re: [SQL] cursor and update + view