COMMIT

From: jwieck(at)debis(dot)com (Jan Wieck)
To: pgsql-hackers(at)postgreSQL(dot)org (PostgreSQL HACKERS)
Subject: COMMIT
Date: 1998-11-30 16:38:00
Message-ID: m0zkWKn-000EBjC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)debis(dot)com (Jan Wieck) #

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Henry B. Hotz 1998-11-30 17:53:28 Re: [HACKERS] Testing, Hello?
Previous Message Thomas G. Lockhart 1998-11-30 16:28:08 Re: [HACKERS] sbufdesc' padding...