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 1rONTf-003gvk-1i for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Jan 2024 19:46:03 +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 1rONTe-0050LS-53 for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Jan 2024 19:46:02 +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 1rONTd-0050LK-SD for pgsql-hackers@lists.postgresql.org; Fri, 12 Jan 2024 19:46:01 +0000 Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rONTb-001FFo-3W for pgsql-hackers@postgresql.org; Fri, 12 Jan 2024 19:46:01 +0000 Received: by mail-il1-x12f.google.com with SMTP id e9e14a558f8ab-36091f4d8easo23569765ab.2 for ; Fri, 12 Jan 2024 11:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705088757; x=1705693557; darn=postgresql.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=YgWT2j/dVa5RmjyGNo3xmCJHBf0E6qa+sE6LOP020lQ=; b=J5OkZY0qpqav+w2n0Cz7sEJ4qbK7abGX6J/QXk3kwyWb68YrkTzNGrE24ooW9TXyVQ I50bG6bg4ZS91qkKGhCiwOQDBRap9pZ4A9DTs348EaOPvJ2KYO+Ak86MiWq3DksmLpGS gqutg4qmXMyNlA7MTP/s5jwyskbpULR3fyU1jxL2XLylR/RpU5Eb6BOY+OdWYRxU4YJh x14/ZQatxMp7EmNV9Cq/HSj8uTtUhDaBJAOzn90WAIA53y8AiEtmF3ncZUyYEQp1vFLv BzpZJXhwVTVB18r5m6PgLdFvpgwieBN/NnG0uGOQgdN8o31Xpj51G5VyGzEjrSBIWtgO xG9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705088757; x=1705693557; h=in-reply-to:content-transfer-encoding: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=YgWT2j/dVa5RmjyGNo3xmCJHBf0E6qa+sE6LOP020lQ=; b=LyMK8wAe7V1Q+v9Nf7wEBG0r+pA4ZPk65PA41dFC6iE32bYKpv/niWvHrzlqfaukvw ktol/8vVhn7Uwre67U2zejFIvt0diJP6AjfJL5hxI1KURFQNSsBxnbgSqLflneZvoh46 oIrCGmOKCVzVOwIk4Y/zswk90ybVPU/J2zCxPzYCocoTS9SFIcHyqeVmFGWbkj43B8Q1 TtlhTEBFtr9IAoAGcGmTzO0I6N7nsdpiEDmwyc2sXZ3odZRxShoHsvcP9+fq+g0+5tMF 6EwjEK6HEnq6mfdcGviQQectX5biR9poeDv91QMJRTJEN9QZXMFttTwNX9Gsjk/sM+hc SZrA== X-Gm-Message-State: AOJu0Yw+YAZC+haiZ28mFjgnU7FjUdM95PDR0+VY9W+O4xX+U3rucBB4 mI7iT3fD+PuijBsDnZNUWLg= X-Google-Smtp-Source: AGHT+IGdvAhF9VhfzIw/irWxcDf6UDxk6ech93gSAIUTG49pivEKmt5FH5aNafT9TwZSlZATCf76yQ== X-Received: by 2002:a05:6e02:1150:b0:35f:df6e:b0c7 with SMTP id o16-20020a056e02115000b0035fdf6eb0c7mr1694984ill.39.1705088757057; Fri, 12 Jan 2024 11:45:57 -0800 (PST) Received: from nathanxps13 (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id x15-20020a92b00f000000b0036000a430f8sm1109351ilh.73.2024.01.12.11.45.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 11:45:56 -0800 (PST) Date: Fri, 12 Jan 2024 13:45:55 -0600 From: Nathan Bossart To: Abhijit Menon-Sen Cc: Bharath Rupireddy , Michael Paquier , Robert Haas , pgsql-hackers@postgresql.org Subject: Re: introduce dynamic shared memory registry Message-ID: <20240112194555.GA3804945@nathanxps13> References: <20240102224907.GA1246933@nathanxps13> <20240106163516.GB2435448@nathanxps13> <20240108171627.GA2611898@nathanxps13> <20240112172152.GA3803561@nathanxps13> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jan 12, 2024 at 11:13:46PM +0530, Abhijit Menon-Sen wrote: > At 2024-01-12 11:21:52 -0600, nathandbossart@gmail.com wrote: >> + Each backend sould obtain a pointer to the reserved shared memory by > > sould → should D'oh. Thanks. >> + Add-ins can reserve LWLocks on server startup. Like with shared memory, > > (Would "As with shared memory" read better? Maybe, but then again maybe > it should be left alone because you also write "Unlike with" elsewhere.) I think "As with shared memory..." sounds better here. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com