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 1pj5M6-0008Oy-V0 for pgsql-hackers@arkaria.postgresql.org; Sun, 02 Apr 2023 21:35:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pj5M5-0004DA-R7 for pgsql-hackers@arkaria.postgresql.org; Sun, 02 Apr 2023 21:35:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pj5M3-0004D0-Rv for pgsql-hackers@lists.postgresql.org; Sun, 02 Apr 2023 21:35:17 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pj5M0-0003mx-Nd for pgsql-hackers@postgresql.org; Sun, 02 Apr 2023 21:35:14 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 2014C320082A; Sun, 2 Apr 2023 17:35:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 02 Apr 2023 17:35:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1680471308; x=1680557708; bh=Va k0Q5Lb794If012hflNg6YFtoGXKaUaci6hrQFa8JQ=; b=jRVZbkYqTsWLRjfo4i J+x4bzwpq8K93cU59Wy1U2V9cBt8sz8zyIIiHriZ2gTFR9pPa+YUIJ3+b0kZoe12 apIno32WDlwuv/gyiBjsn7UqYS1zKfy599452U43MU4QsjGPHvuVHoSCcVH09CAz KCa2rGltx8iwqGm8g9RXOUBinUyiDVVnPMWOMu2yZtmjrWGF0o3ZH1bl4KbwqGM1 V5zijMMfpq3VebsFq+OxZ9gYRKKv3Y/F78uNzofKb9H8pA+UuHqRGr0nekK7xF6Y +JlS64UXGUxJGZZNwH6sIJGlCIwe9H4/9iKwKq5oUSxjxQ1vuORIl6GFfn07uB/3 /ctg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680471308; x=1680557708; bh=Vak0Q5Lb794If 012hflNg6YFtoGXKaUaci6hrQFa8JQ=; b=cCyr13zYzjdz4hjxMJWnbnYMGm6Vm aVWjcY2mJqjs2fkQvFPBRUdCkVhmiV0hoZNQROSE9kOc7jc9yJ0aGDvuMwaVrxMO 4iLL7zLInEpsV8hKKHFG8X5RN9xbZh1s6FiS9EKOz57ZcOLL2+/0TFhs21SHaeRA XHXYaFHHWl0m3xyLS45rKFa6Gby2ZPQXCS9oWEy8zsz4QgCiqxTk3gn2VTfjUBMZ 3MecJpqcDxxBGW+PxGwbMYjuVv5nq3FsnsHwR1S4Fh4ptxe5ckkxw8QeMmqQ2iHp eDTxZTWM9kVxqlLirhmkPx7O3H0uwZ3AGiFwvxtUhghgnJ/BcifCzzDRA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeihedgudeivdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpedvffefvefhteevffegieetfefhtddvffejvefhueetgeeludehteev udeitedtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 2 Apr 2023 17:35:08 -0400 (EDT) Date: Sun, 2 Apr 2023 14:35:06 -0700 From: Andres Freund To: Jeff Davis Cc: "Drouvot, Bertrand" , Robert Haas , Thomas Munro , Alvaro Herrera , Ibrar Ahmed , Amit Khandekar , fabriziomello@gmail.com, tushar , Rahila Syed , pgsql-hackers Subject: Re: Minimal logical decoding on standbys Message-ID: <20230402213506.ocprj6ky45s4ydtr@awork3.anarazel.de> References: <2d314c22b9e03415aa1c7d8fd1f698dae60effa7.camel@j-davis.com> <061eeb26-156e-6011-02b6-b4b1422e2aa6@gmail.com> <8a7da0c2-b7fe-1c78-4e47-a16239bf4839@gmail.com> <6ab352de1553c1e3d0c7d97c038dc470ca51e772.camel@j-davis.com> <4df984c8-3adb-3b69-0e4e-a491097862ce@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2023-03-31 02:44:33 -0700, Jeff Davis wrote: > From 2f05cab9012950ae9290fccbb6366d50fc01553e Mon Sep 17 00:00:00 2001 > From: Jeff Davis > Date: Wed, 1 Mar 2023 20:02:42 -0800 > Subject: [PATCH v2] Introduce ConditionVariableEventSleep(). > > The new API takes a WaitEventSet which can include socket events. The > WaitEventSet must have been created by > ConditionVariableWaitSetCreate(), another new function, so that it > includes the wait events necessary for a condition variable. Why not offer a function to add a CV to a WES? It seems somehow odd to require going through condition_variable.c to create a WES. Greetings, Andres Freund