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 1pKk1y-0007Xi-9W for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Jan 2023 17:57:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pKk1x-00045L-5y for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Jan 2023 17:57:53 +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 1pKk1g-00086R-Dl for pgsql-hackers@lists.postgresql.org; Wed, 25 Jan 2023 17:57:36 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pKk1e-0005tN-2Y for pgsql-hackers@postgresql.org; Wed, 25 Jan 2023 17:57:36 +0000 Received: by mail-pj1-x102a.google.com with SMTP id x2-20020a17090a46c200b002295ca9855aso2858388pjg.2 for ; Wed, 25 Jan 2023 09:57:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=RE4IRsX03GY256t8/F4qoKKKcjVcYrR0HoFrFW9x9wU=; b=bgj6IhxrDKZn4/nIPHM6RnOKiK4OVHp3cckC9/2VYzzvw2y7HqKfuZ6CeDNgRUkSI7 RkwILD0CCBkOwMRqszp7nP5ZgZTedI1TU6lq8GVPtszRw+3QbKAGDiZhWCW9/GtLR190 IaI1wVTTSVOv3/c6ZFrgG9HsfNkXTRFMrBCA8AbUFp/+cJW82zO4DhUPGWGVzc/Yt5Xw 85FhZ2yrJuI43Y3ZgnXOuNEs0EvQ1TAGQiLxxjrpdB2x3cMpxIv7eU+hq3n7tJVs2MSN gfBAhBYVf7k86w+j5iCnLoX45nxmh1v2u1gsDDr2RugRZgZN0lC1Kq9Tddh7RAC7u+sP z4OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RE4IRsX03GY256t8/F4qoKKKcjVcYrR0HoFrFW9x9wU=; b=BPY5GcxC+w0TPpwwCTw4J3spzMzsXjKMo0g/bb/TFVTET3eudfXX0EpKkzpJVQZz/G 80HXRbPyPBeKPR3dfwp4oD4jFVeP6B8sBU2s25SAGwxkACl31voK4Pll4CoRzI3Ysg8F 4UiVLb1WNI37PAvPwLTDV3m6/pwwOL+MCQ/SfxuMMBBAXCdZ8TnkB8tzLjLb2w5sfzwk W/N36BO1vV28TrWympAFWHcDNGcesx6oozoWzIjhjmKwrpp58V08h4ttKdnh4ARb1d57 b4/2AO7va5UO0sX4Fv24D3wUrJceaRmLhcztQwh14qViCmSZqWhdppBNMs20Cq7JmxB9 AlIQ== X-Gm-Message-State: AO0yUKXyuS2EkWDVElXJJ9XrVjgihSykE+P6fazcgy8mEhv2aK71t9lF TLYBDKowZAmTwjFQBgBbaBU= X-Google-Smtp-Source: AK7set9RXUXOKpK6MbxW2h/wz87tvewiYC1uAfijdO2xQVcQrqAsueBM9RDlofzpFGlpDd3TQ+ZR3Q== X-Received: by 2002:a17:90a:e7ca:b0:22c:1bd6:77d8 with SMTP id kb10-20020a17090ae7ca00b0022c1bd677d8mr145838pjb.11.1674669451995; Wed, 25 Jan 2023 09:57:31 -0800 (PST) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id y3-20020a17090a134300b00229d7f2abd4sm1936812pjf.54.2023.01.25.09.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 09:57:31 -0800 (PST) Date: Wed, 25 Jan 2023 09:57:29 -0800 From: Nathan Bossart To: Kyotaro Horiguchi Cc: tgl@sss.pgh.pa.us, houzj.fnst@fujitsu.com, amit.kapila16@gmail.com, m.melihmutlu@gmail.com, thomas.munro@gmail.com, kuroda.hayato@fujitsu.com, pgsql-hackers@postgresql.org Subject: Re: wake up logical workers after ALTER SUBSCRIPTION Message-ID: <20230125175729.GA1098626@nathanxps13> References: <20230124171329.GA677220@nathanxps13> <2268133.1674584035@sss.pgh.pa.us> <20230124184217.GA724858@nathanxps13> <20230125.161200.735003108705492225.horikyota.ntt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230125.161200.735003108705492225.horikyota.ntt@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jan 25, 2023 at 04:12:00PM +0900, Kyotaro Horiguchi wrote: > At Tue, 24 Jan 2023 10:42:17 -0800, Nathan Bossart wrote in >> Here is a first attempt at a patch. I scanned through all the existing >> uses of InvalidDsaPointer and DSM_HANDLE_INVALID and didn't notice anything >> else that needed adjusting. > > There seems to be two cases for DSA_HANDLE_INVALID in dsa_get_handle > and dsa_attach_in_place, one of which is Assert(), though. Ah, sorry, I'm not sure how I missed this. Thanks for looking. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com