Re: [HACKERS] COMMIT
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] COMMIT |
Дата | |
Msg-id | 199812130358.WAA13310@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [HACKERS] COMMIT (Vadim Mikheev <vadim@krs.ru>) |
Ответы |
Re: [HACKERS] COMMIT
|
Список | 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... Added to TODO: * 'C' response returned to fontend before actual data committed -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: