COMMIT
От | jwieck@debis.com (Jan Wieck) |
---|---|
Тема | COMMIT |
Дата | |
Msg-id | m0zkWKn-000EBjC@orion.SAPserv.Hamburg.dsh.de обсуждение исходный текст |
Список | pgsql-hackers |
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. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #======================================== jwieck@debis.com (Jan Wieck) #
В списке pgsql-hackers по дате отправления: