From: | Hans-Jürgen Schönig <postgres(at)cybertec(dot)at> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | comments on prepared transactions ... |
Date: | 2005-10-06 17:13:56 |
Message-ID: | 43455B54.8000700@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
i had to deal with oracle in the past couple of days (*mega sigh*)
i have seen a very interesting feature which would make sense for
PostgreSQL users.
currently we have:
test=# \h PREPARE TRANSACTION
Command: PREPARE TRANSACTION
Description: prepare the current transaction for two-phase commit
Syntax:
PREPARE TRANSACTION transaction_id
in oracle it is possible to comment transactions:
COMMIT COMMENT 'ORA-2PC-CRASH-TEST-n';
if we added the possibility to comment prepared transactions it would be
far easier for DBAs to find out what to do with prepared transactions
once something has gone wrong (at least if an application adds some
useful data to the comment). usually when the DBA has to fix something
it has to be done FAST - some additional info would definitely help here ...
what do people think about this?
best regards,
hans
--
Cybertec Geschwinde & Schönig GmbH
Schöngrabern 134; A-2020 Hollabrunn
Tel: +43/1/205 10 35 / 340
www.postgresql.at, www.cybertec.at
From | Date | Subject | |
---|---|---|---|
Next Message | Luke Lonergan | 2005-10-06 17:28:38 | Re: [PERFORM] A Better External Sort? |
Previous Message | Martijn van Oosterhout | 2005-10-06 16:57:30 | Re: [PERFORM] A Better External Sort? |