Re: [BUGS] BUG #1118: Misleading Commit message

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: [BUGS] BUG #1118: Misleading Commit message
Дата
Msg-id 40F14825.2080703@Yahoo.com
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #1118: Misleading Commit message  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [BUGS] BUG #1118: Misleading Commit message
Список pgsql-hackers
On 7/10/2004 10:54 AM, Bruce Momjian wrote:
> Tom Lane wrote:
>> Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> > Do we want to add this to TODO:
>> >     *  Issue an extra message when COMMIT completes a failed transaction
>> 
>> No --- it's (a) wordy and (b) not responsive to the original complaint,
>> which was that a client that examines command completion tags will be
>> easily misled.  We should either change the command tags or do nothing.
> 
> I am not excited about changing the command tag.
> 

Either changing the command tag or let COMMIT of an aborted transaction 
fail (and stay in aborted transaction state). Those are the only two 
clean ways to communicate to the client "no, I cannot commit".


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dennis Bjorklund
Дата:
Сообщение: Re: Nested Transactions, Abort All
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #1118: Misleading Commit message