Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYcH6-0006Hj-6C for pgsql-hackers@arkaria.postgresql.org; Tue, 12 May 2020 21:17:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYcH5-00022I-1x for pgsql-hackers@arkaria.postgresql.org; Tue, 12 May 2020 21:17:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYcH4-00020O-RY for pgsql-hackers@lists.postgresql.org; Tue, 12 May 2020 21:17:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYcH2-0001mU-NX for pgsql-hackers@lists.postgresql.org; Tue, 12 May 2020 21:17:14 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 04CLH9j9007392; Tue, 12 May 2020 17:17:09 -0400 From: Tom Lane To: Robert Haas cc: Simon Riggs , "Andrey M. Borodin" , PostgreSQL Hackers Subject: Re: Our naming of wait events is a disaster. In-reply-to: References: <21247.1589296570@sss.pgh.pa.us> <270FBE56-4F83-4FDE-BFFC-18EFF54DE30A@yandex-team.ru> <31271.1589307094@sss.pgh.pa.us> <4221.1589313646@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Tue, 12 May 2020 16:10:18 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7390.1589318229.1@sss.pgh.pa.us> Date: Tue, 12 May 2020 17:17:09 -0400 Message-ID: <7391.1589318229@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Robert Haas writes: > On Tue, May 12, 2020 at 4:00 PM Tom Lane wrote: >> Said user-facing documentation largely fails to explain that the >> set of wait events can be enlarged by extensions; that needs to >> be fixed, too. > Is that true? How can they do that? I thought they were stuck with > PG_WAIT_EXTENSION. Extensions can definitely add new LWLock tranches, and thereby enlarge the set of names in that category. I haven't figured out whether there are other avenues. regards, tom lane