Re: Moving relation extension locks out of heavyweight lock manager
Masahiko Sawada <sawada.mshk@gmail.com>
From: Masahiko Sawada <sawada.mshk@gmail.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Robert Haas <robertmhaas@gmail.com>,
Amit Kapila <amit.kapila16@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-10-26T10:36:37Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Allow page lock to conflict among parallel group members.
- 3ba59ccc896e 13.0 landed
-
Allow relation extension lock to conflict among parallel group members.
- 85f6b49c2c53 13.0 landed
-
Add assert to ensure that page locks don't participate in deadlock cycle.
- 72e78d831ab5 13.0 landed
-
Assert that we don't acquire a heavyweight lock on another object after
- 15ef6ff4b985 13.0 landed
-
Fix unsafe usage of strerror(errno) within ereport().
- 81256cd05f07 11.0 cited
Attachments
- Moving_extension_lock_out_of_heavyweight_lock_v5.patch (text/x-patch) patch v5
On Fri, Sep 8, 2017 at 4:32 AM, Masahiko Sawada <sawada.mshk@gmail.com> wrote: > On Fri, Sep 8, 2017 at 7:24 AM, Thomas Munro > <thomas.munro@enterprisedb.com> wrote: >> On Wed, Aug 16, 2017 at 2:13 PM, Masahiko Sawada <sawada.mshk@gmail.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