From: | Amit Langote <amitlangote09(at)gmail(dot)com> |
---|---|
To: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Need to backpatch 2985e16 to 9.3 and further (HS regression test out) |
Date: | 2014-06-05 07:56:08 |
Message-ID: | CA+HiwqGDSDRnTGB-crD79WRU8TZob5zLdsq+HiTAx_oFBtM7+w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Jun 5, 2014 at 4:09 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> On Thu, Jun 5, 2014 at 3:11 PM, Amit Langote <amitlangote09(at)gmail(dot)com> wrote:
>> On Wed, Jun 4, 2014 at 11:10 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>>> On Wed, Jun 4, 2014 at 3:26 PM, Amit Langote <amitlangote09(at)gmail(dot)com> wrote:
>>>> Hi,
>>>>
>>>> Following (commit 2985e16) has not been backpatched, I guess.
>>>>
>>>> ANALYZE hs1;
>>>> -ERROR: cannot execute VACUUM during recovery
>>>> +ERROR: cannot execute ANALYZE during recovery
>>>>
>>>> Attached is a patch for this.
>>>
>>> Why did you cut off the following part? ISTM that also needs to be back-patched.
>>> So we should just do "git cherry-pick 2985e16" on 9.3.
>>>
>>> -begin transaction isolation level serializable;
>>> +begin transaction isolation level repeatable read;
>>>
>>
>> You are right, I did not pay attention to that at all.
>> Please find attached = 2985e16 ;-)
>
> Do we need to back-patch this to older versions (i,e. 9.2, 9.1, ..)?
>
Yes, this should be backpatched to 9.2, 9.1, 9.0, too.
Perhaps, 9.1 needs another fix here. Does the following look suspicious?
*** expected/hs_standby_functions.out 2014-06-05 06:26:30.000000000 +0900
--- results/hs_standby_functions.out 2014-06-05 16:49:02.200931657 +0900
***************
*** 32,38 ****
from pg_locks where virtualxid = '1/1';
locktype | virtualxid | virtualtransaction | mode | granted
------------+------------+--------------------+---------------+---------
! virtualxid | 1/1 | 1/0 | ExclusiveLock | t
(1 row)
-- suicide is painless
--- 32,38 ----
from pg_locks where virtualxid = '1/1';
locktype | virtualxid | virtualtransaction | mode | granted
------------+------------+--------------------+---------------+---------
! virtualxid | 1/1 | 1/1 | ExclusiveLock | t
(1 row)
-- suicide is painless
--
Amit
From | Date | Subject | |
---|---|---|---|
Next Message | furuyao | 2014-06-05 08:09:44 | pg_receivexlog add synchronous mode |
Previous Message | Fujii Masao | 2014-06-05 07:09:15 | Re: Need to backpatch 2985e16 to 9.3 and further (HS regression test out) |