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 1nWOAu-0002zj-Sj for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Mar 2022 19:58:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nWOAt-00036T-OV for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Mar 2022 19:58:43 +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 1nWOAt-00036K-FY for pgsql-hackers@lists.postgresql.org; Mon, 21 Mar 2022 19:58:43 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nWOAl-0006OX-4b for pgsql-hackers@postgresql.org; Mon, 21 Mar 2022 19:58:42 +0000 Received: by mail-pj1-x102a.google.com with SMTP id mm17-20020a17090b359100b001c6da62a559so324289pjb.3 for ; Mon, 21 Mar 2022 12:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6Jn+B6ATY74/MmmLsgaKFzDQe+b+Ky+RmZ3/7BQHxhI=; b=Acb/Wm3SmUslcwNUB/yj60PKDe2VtxpQR6gOXn57mSN27NhTtqcSuULvm22bYTbDyN q/Bo1AEhOsSF8sukFVjCq3eTBmtYPX65fbcSQ7eiast4T7Tgg0n8MqyKn1TPD+Y0eMnT h9doH58lMTCVgjZezsljiyoSZC29kl9O/jCnrYTaCyxv1XjsDaIiXnwSqJeeWZSbPGWn givLTmsJhsn7ksKnAz3EjkiU+AiCxOcy97FpdAnyyAb5RUn1qPzSY9Lr5BADeV8+FC0C m5PKETcpmgLK9w4SrFhUGsISWeQj0nEg5QGGuGpKFe2KIeBVpEvbRJlPRPcCBAsXUzgO 3o3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6Jn+B6ATY74/MmmLsgaKFzDQe+b+Ky+RmZ3/7BQHxhI=; b=feERT3SDix2Ipr/e2ItFrP+xl77xFXbmPL/F4FcpuPtpp43uKXP5WA/TdWjNAgnHzd tFshCBAFiJ3gINZtxHSUlF1Ilbz3YKqari2gYz9tGfDIcy+CSTif7qK9OEgaJzMSFeqR XY9KSze8d0FemaDEj8mgrQdfhq1Tj5uzqTTiXUBiB+mXuncGaD2bpsGv6wjssqOrorCh 19gGIMHewL0OH1g1WAhO7YGV9BGfDccOldc9Cynfs03px19pV7lv5TP3wBiX/6CXTpcb RKcR6nNvHDdfKa0lSbhnd5uHg+8bASXJhZphJKA02PrDNDVgSNIN2JjSK5pEh/R50Pfd s1mg== X-Gm-Message-State: AOAM531OIpjMJuPVyngj2Z4CpvdiPaMi1nr04r+Rnr/1oe5M2wIFVccP oeIYw2uRC62YyVDyOcdlVImf8Qarsyn9O78rXH1MLKbjFupwkrVoTaZzEGA5r3D4QWad0ZhrIf4 Qni3DaRPIfcibW0ff6IHgzTZWte2JAQBsjMhw/YwHiCZ9zSfvRGmHyHXFemmBJZB+OvGiaf/27A qeKtj2SsgUIDHcyiO2tfZRLH/3GP19MSai4wjT X-Google-Smtp-Source: ABdhPJzs8dufpsSqqC9+K20JfIRaYpHcI3lRhCVCyDhE1W3f9+kBjcbpf02wWHb37KJynFGeqCuHug== X-Received: by 2002:a17:902:ea04:b0:154:63ae:ab97 with SMTP id s4-20020a170902ea0400b0015463aeab97mr4986091plg.110.1647892714002; Mon, 21 Mar 2022 12:58:34 -0700 (PDT) Received: from laptop280-ma-us.hitronhub.home (24-113-193-150.wavecable.com. [24.113.193.150]) by smtp.gmail.com with ESMTPSA id c21-20020a637255000000b003822e80f132sm9437340pgn.12.2022.03.21.12.58.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Mar 2022 12:58:33 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: New Object Access Type hooks From: Mark Dilger In-Reply-To: <032148cd-fcdb-6d81-58b2-137a1b77e0e6@dunslane.net> Date: Mon, 21 Mar 2022 12:58:32 -0700 Cc: PostgreSQL-development , Robert Haas , Tom Lane , Jeff Davis , Joe Conway , Andrew Dunstan Content-Transfer-Encoding: quoted-printable Message-Id: <0169FE2F-3448-4F13-A0D8-0982C4086EE6@enterprisedb.com> References: <47F87A0E-C0E5-43A6-89F6-D403F2B45175@enterprisedb.com> <032148cd-fcdb-6d81-58b2-137a1b77e0e6@dunslane.net> To: Joshua Brindle X-Mailer: Apple Mail (2.3608.120.23.2.7) X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Mar 21, 2022, at 8:41 AM, Andrew Dunstan = wrote: >=20 > My first inclination is to say it's probably ok. The immediately = obvious > alternative would be to create yet another set of functions that don't > have classId parameters. That doesn't seem attractive. >=20 > Modulo that issue I think patch 1 is basically ok, but we should fix = the > comments in objectaccess.c. Rather than "It is [the] entrypoint ..." = we > should have something like "Oid variant entrypoint ..." and "Name > variant entrypoint ...", and also fix the function names in the = comments. Joshua, Do you care to create a new version of this, perhaps based on the = v2-0001 patch I just posted? =E2=80=94 Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company