| From: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
|---|---|
| To: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
| Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Moving relation extension locks out of heavyweight lock manager |
| Date: | 2017-10-26 10:36:37 |
| Message-ID: | CAD21AoCktNwUesvMykA3JaKg7u8NMt0XOS_AscF1krUNTiw3xQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, Sep 8, 2017 at 4:32 AM, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
> On Fri, Sep 8, 2017 at 7:24 AM, Thomas Munro
> <thomas(dot)munro(at)enterprisedb(dot)com> wrote:
>> On Wed, Aug 16, 2017 at 2:13 PM, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
>>> The previous patch conflicts with current HEAD, I rebased the patch to
>>> current HEAD.
>>
>> Hi Masahiko-san,
>>
>> FYI this doesn't build anymore. I think it's just because the wait
>> event enumerators were re-alphabetised in pgstat.h:
>>
>> ../../../../src/include/pgstat.h:820:2: error: redeclaration of
>> enumerator ‘WAIT_EVENT_LOGICAL_SYNC_DATA’
>> WAIT_EVENT_LOGICAL_SYNC_DATA,
>> ^
>> ../../../../src/include/pgstat.h:806:2: note: previous definition of
>> ‘WAIT_EVENT_LOGICAL_SYNC_DATA’ was here
>> WAIT_EVENT_LOGICAL_SYNC_DATA,
>> ^
>> ../../../../src/include/pgstat.h:821:2: error: redeclaration of
>> enumerator ‘WAIT_EVENT_LOGICAL_SYNC_STATE_CHANGE’
>> WAIT_EVENT_LOGICAL_SYNC_STATE_CHANGE,
>> ^
>> ../../../../src/include/pgstat.h:807:2: note: previous definition of
>> ‘WAIT_EVENT_LOGICAL_SYNC_STATE_CHANGE’ was here
>> WAIT_EVENT_LOGICAL_SYNC_STATE_CHANGE,
>> ^
>>
>
> Thank you for the information! Attached rebased patch.
>
Since the previous patch conflicts with current HEAD, I attached the
updated patch for next CF.
Regards,
--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
| Attachment | Content-Type | Size |
|---|---|---|
| Moving_extension_lock_out_of_heavyweight_lock_v5.patch | text/x-patch | 36.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2017-10-26 10:42:23 | Re: show "aggressive" or not in autovacuum logs |
| Previous Message | Robert Haas | 2017-10-26 10:30:29 | Re: Removing [Merge]Append nodes which contain a single subpath |