Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWvIV-004h2Z-93 for pgsql-hackers@arkaria.postgresql.org; Fri, 18 Aug 2023 08:57:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qWvIT-009RGi-Mi for pgsql-hackers@arkaria.postgresql.org; Fri, 18 Aug 2023 08:57:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWvIT-009RGa-Ca for pgsql-hackers@lists.postgresql.org; Fri, 18 Aug 2023 08:57:33 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qWvIP-000pB7-VK for pgsql-hackers@lists.postgresql.org; Fri, 18 Aug 2023 08:57:32 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-3197a71a9c0so1162872f8f.1 for ; Fri, 18 Aug 2023 01:57:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692349049; x=1692953849; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8rqrx6Ec6bAmQS4sigvxOrPxLL19prGBX8kbreFeBRA=; b=BK6eZr4LiEOMtQs91TjA4h4g7omt98jQ/YvvwjQKtexJkOEbLYcfaZzeF4rbxJX9Fd Yw7HqdpNT0swNq+dmj0gB7Jvwvp4xnqQc95pEd5czG5E76LwxsP/PvGjojeUGvoa7YNJ pgNZky0lTdKn7+Xeu5dLVk5ZJ4ANFEFnM1GVqOkQ8v8caK2CpgGB4D5VYhs5s/W4xURK yIkrxDtQSP9Y1UGxqi66DblofYWrdEye5dXCFY2C5ka4d2ShRBNGlAFllZamwWuIAd7j 2osLBYOAUVvM8RYIv7Pcm/ouCT1UfOky+D6PhmwICf7JaEYksxDzVAvek0GGeR3wKpel 3K3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692349049; x=1692953849; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8rqrx6Ec6bAmQS4sigvxOrPxLL19prGBX8kbreFeBRA=; b=Si+fpeczqm9Z3SPykMUvm5cw2uYBTKKRKziDsBR9XQTvKJZzV+mIKvDGnhi5gZpUVV gPV7/ioFazwlIpF2lk0dNrfzMelGuwoSrbefsw1WqvNP/7kASPj4yFvfxAaitVAnjTMC e+tNAKrIlMBNZVwQpvpoPEyNpYau097dfxyEGAlBwsUsm/Za8f1geYvlFH6uBhN+neyz VqwQdgndOpV+kDeshWQSE+tmE5O0tmPDFFA9zXsVwOAQsGmtidzsesoX4h+VYJy0NFoJ V/+1Ww2nPs3Vv0T9kisqyTNuidDB/TFuvbPqU2PQuWNz2XJvG0mWt4c2uikh0ISgEENg I7yA== X-Gm-Message-State: AOJu0YyKO3JVfoRl4rTOazMUUpibMy3tkAS5Xk/XW8jzUJ7zax8VIIBd zsJMxRsbKAg4ZkPbI3jXK8M= X-Google-Smtp-Source: AGHT+IEQ4yUNr3NbJXSuv6LU7BRKHrnrpPo/q97LSlwC6BzIIPyJ9zt5AcMZ4NEW/rIrR/OtWlaTDg== X-Received: by 2002:a5d:440a:0:b0:319:5234:5c92 with SMTP id z10-20020a5d440a000000b0031952345c92mr700105wrq.35.1692349049010; Fri, 18 Aug 2023 01:57:29 -0700 (PDT) Received: from ?IPV6:2a01:cb11:55e:1700:8d8b:8d20:a052:f9b3? ([2a01:cb11:55e:1700:8d8b:8d20:a052:f9b3]) by smtp.gmail.com with ESMTPSA id o1-20020a5d62c1000000b0031ad2663ed0sm2017706wrv.66.2023.08.18.01.57.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Aug 2023 01:57:28 -0700 (PDT) Message-ID: <7422edbb-bf81-4f4f-b260-ce4d39a31007@gmail.com> Date: Fri, 18 Aug 2023 10:57:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: WIP: new system catalog pg_wait_event Content-Language: en-US To: Michael Paquier , Masahiro Ikeda Cc: Kyotaro Horiguchi , tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org References: <2f84b397-d020-493c-924c-610b9dd18f8d@gmail.com> <735fbd560ae914c96faaa23cc8d9a118@oss.nttdata.com> <393fe340ab6980f399402a7dfbe13c4c@oss.nttdata.com> From: "Drouvot, Bertrand" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 8/18/23 12:37 AM, Michael Paquier wrote: > On Thu, Aug 17, 2023 at 04:37:22PM +0900, Masahiro Ikeda wrote: >> On 2023-08-17 14:53, Drouvot, Bertrand wrote: >> BTW, is it better to start with "Waiting" like any other lines? >> For example, "Waiting for custom event \"worker_spi_main\" defined by an >> extension". > > Using "Waiting for custom event" is a good term here. Yeah, done in v8 just shared up-thread. > I am wondering > if this should be s/extension/module/, as an event could be set by a > loaded library, which may not be set with CREATE EXTENSION. > I think that removing "extension" sounds weird given the fact that the wait event type is "Extension" (that could lead to confusion). I did use "defined by an extension module" in v8 (also that's aligned with the wording used in wait_event.h). Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com