From: | Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Joachim Wieland <joe(at)mcknight(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Hannu Krosing <hannu(at)2ndquadrant(dot)com>, James Pye <lists(at)jwp(dot)name>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Cancelling idle in transaction state |
Date: | 2010-01-01 16:27:43 |
Message-ID: | 65937bea1001010827x30777895w463ebcf38706e945@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jan 1, 2010 at 8:38 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Jan 1, 2010, at 6:48 AM, Simon Riggs <simon(at)2ndQuadrant(dot)com> w
>
> We could either endlessly repeat this
>>
>> ERROR: current transaction is aborted because of conflict with
>> recovery, commands ignored until end of transaction block
>>
>
> +1 for this option.
>
>
> I'm also not sure why we would want to single out Hot Standby to
>> generate the reason "because of conflict with recovery" when no other
>> ERROR source would generate such a reason.
>>
>
> Well, most times when the transaction is aborted, it's because you did
> something wrong. Or at least, the failure is associated with some
> particular statement.
>
> If we have other events that can asynchronously roll back a transaction, I
> would think they would deserve similar handling. Off the top of my head,
> I'm not sure if there are any such cases.
>
>
Why not do the finger pointing (to HS) in the DETAIL field of the ERROR, and
let the error message remain the same.
Best regards,
--
gurjeet.singh
@ EnterpriseDB - The Enterprise Postgres Company
http://www.enterprisedb.com
singh(dot)gurjeet(at){ gmail | yahoo }.com
Twitter/Skype: singh_gurjeet
Mail sent from my BlackLaptop device
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2010-01-01 16:30:05 | Re: Cancelling idle in transaction state |
Previous Message | Magnus Hagander | 2010-01-01 15:32:49 | Change to config.pl processing in the msvc build environment |