Re: Moving relation extension locks out of heavyweight lock manager
Thomas Munro <thomas.munro@enterprisedb.com>
From: Thomas Munro <thomas.munro@enterprisedb.com>
To: Masahiko Sawada <sawada.mshk@gmail.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-09-07T22:24:11Z
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
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, ^ -- Thomas Munro http://www.enterprisedb.com