pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: split up wait_event table.
Date: Thu, 14 May 2020 03:37:04 +0000
Message-ID: <E1jZ4gC-0007jZ-Iy@gemulon.postgresql.org> (raw)

Doc: split up wait_event table.

The previous design for this table didn't really work in narrow views,
such as PDF output; besides which its reliance on large morerows
values made it a pain to maintain (cf ab3e4fbd5, for example).

I experimented with a couple of ways to fix it, but the best and
simplest is to split it up into a separate table for each event
type category.

I also rearranged the event ordering to be strictly alphabetical,
as nobody would ever be able to find entries otherwise.

There is work afoot to revise the set of event names described
in this table, but this commit just changes the layout, not the
contents.

In passing, add a missing entry to pg_locks.locktype,
and cross-reference that to the related wait event list.

Discussion: https://postgr.es/m/6916.1589146280@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4fa8bd392d02637b4e4f27b79c06079e47765cbc

Modified Files
--------------
doc/src/sgml/catalogs.sgml   |    4 +-
doc/src/sgml/monitoring.sgml | 2337 +++++++++++++++++++++++-------------------
2 files changed, 1264 insertions(+), 1077 deletions(-)



Message-ID: <E1jZ4gC-0007jZ-Iy@gemulon.postgresql.org>
Permalink:  ../E1jZ4gC-0007jZ-Iy@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jZ4gC-0007jZ-Iy@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Doc: split up wait_event table.
  In-Reply-To: <E1jZ4gC-0007jZ-Iy@gemulon.postgresql.org>
  References: <E1jZ4gC-0007jZ-Iy@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox