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 1r7UW9-005a74-Le for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Nov 2023 05:50:50 +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 1r7UW6-00AmwB-N8 for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Nov 2023 05:50:46 +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 1r7UW4-00Amw3-W3 for pgsql-hackers@lists.postgresql.org; Mon, 27 Nov 2023 05:50:46 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r7UW0-008jYh-C4 for pgsql-hackers@lists.postgresql.org; Mon, 27 Nov 2023 05:50:44 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id D97373200A67 for ; Mon, 27 Nov 2023 00:50:35 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 27 Nov 2023 00:50:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1701064235; x=1701150635; bh=Hq6jwjUh8Oo+t/yK0uaSddSY9 VOvNaUxxBPPoQE+ei8=; b=xi3MStLf63lxH4+i19Wa3bdyKE4opSPPvLNL2kBgR mf7FK/JI8GziWm262T29vAySk18YhKlIY3VUgqImGHYlyj10VTrR8KmsYYq/Y+q/ 7sRm9//uIthKLWn7t/BzJx6OlMaIHH1BRk5PHvpX144NGy7mUv1+9+e3KgUKSBRs snPblHBlet4eZ4jV6Qq1gTxxgCT6zpxdsAO77m5x4z83f0hXIekyBkJN0WqcpY2t /btwOK/cUau9HRvWouutMDwDVH6aPgSIyTU9vN/UD8fCk8gGDnWEpIPaLrW9G8IC fYFU3Octnqo3jONLl0y+VZgqKXVep9cD49d3PvRJjY0tw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1701064235; x=1701150635; bh=Hq6jwjUh8Oo+t/yK0uaSddSY9VOvNaUxxBP PoQE+ei8=; b=p21EG6kIuR8A55GMPI9GAqWzm+POtiaJSRn34RC/yb5+M4xl3Xt MqKA8szUieF8ey9hTU6nwrHNKvs4FcZPzajhjY+pX/reUYharmsToJEYTeIxAfEF L9wEFqHmLofMuSdQ6cmAUyO3clYYrTnrIIaW8bbxa6qdy0W3MrjJ1EO+hpdBETzd CVs7eRe6EFkCiQXe0mNZPalnksE9wK5Mr+EZVT6etv22L62G2HrnyJegbgKW7P2t xIYudngYgO3MRdcgnhECdGd73zsUrGwsTG3/2LuFos/7Q0dYs8g5kBKk6TE/Pa6W eE5uxbCzevXetueOgskhT6aEiBN2q1rIfTw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeitddgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkgggtugesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvtdffteegtdfhuefgvedvtdejgfeu gfeggfejgfdvhefgfeevieektdelkefhgfenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 27 Nov 2023 00:50:34 -0500 (EST) Date: Mon, 27 Nov 2023 14:50:22 +0900 From: Michael Paquier To: Postgres hackers Subject: Incorrect comment in tableam.h regarding GetHeapamTableAmRoutine() Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9y/g4mUnNulr0E9j" Content-Disposition: inline List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --9y/g4mUnNulr0E9j Content-Type: multipart/mixed; boundary="m1wJoVx0Je2s/z5f" Content-Disposition: inline --m1wJoVx0Je2s/z5f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, I have noticed that GetHeapamTableAmRoutine() is listed as being a member of tableamapi.c but it is a convenience routine located in heapam_handler.c. Shouldn't the header be fixed with something like the attached? Thoughts or comments? -- Michael --m1wJoVx0Je2s/z5f Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="tableam-header-comment.patch" Content-Transfer-Encoding: quoted-printable diff --git a/src/include/access/tableam.h b/src/include/access/tableam.h index dbb709b56c..9ab7201f4d 100644 --- a/src/include/access/tableam.h +++ b/src/include/access/tableam.h @@ -2095,6 +2095,12 @@ extern void table_block_relation_estimate_size(Relat= ion rel, */ =20 extern const TableAmRoutine *GetTableAmRoutine(Oid amhandler); + +/* -----------------------------------------------------------------------= ----- + * Functions in heapam_handler.c + * -----------------------------------------------------------------------= ----- + */ + extern const TableAmRoutine *GetHeapamTableAmRoutine(void); =20 #endif /* TABLEAM_H */ --m1wJoVx0Je2s/z5f-- --9y/g4mUnNulr0E9j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmVkLh4ACgkQnvQgOdby QH3zkA//doy+YoJZRPIAqPeceINMVhtkvw9to45Bpq0GS9yGM9uGaut2lnReIvHQ tdoxzldjleOSCJUb2Uc7aIB55IJ7oGB/gqvBloVg3SokqCJ2pw6RLsTXfXFf8S5L /CHAH/dY2uCA7afFgYY1dBMUAzR97Csnisb7EGTN2JmgtysPWHcUtTwQgVsiyCvQ OEb23m8P8uT3d2B2rnVBfM8lmtraH4cnNNpTiQPjQ2pWKHDqci3aS5fJlB/R2kQh Z629Yv69Cef2zlP0A8pM5mAFeic0yk03HI3FQg6+teIGK1VQ5VGL9ukKd3Bes+ml c5UOb3bQ99B4MyORLEBvO5hg3OlG6WdQJHqt0u2tHwPG5IEuF6IpI1+U7/QZyarG i2bM05adVO57xofUb9fJwBpzmzi/ZTNuznDl3Ml5Z4/moYejwPmdMiWSBmyOTH70 VBKAUEJw55KMlJJlcLNkHP2vH6yT1hfTSLEe3iEEQ3vv1grHyanU7lesinS2Fy8C z5BiFXqPAVhtfpTmP0kOTiUIS5mEwny3KvsfpDWiqYEoGIukdXGMeSw9HDd25GPN po9VGJ5tShyZNF6mWfa5sqYLlKOLQaCzNTtelAqty0teIqcKhzBz6x2AyFEImFUU HCnBWAc/hurUfK2WnTbQQRnlr9yrSNklgls2UTlj1Yhyz2YJKX4= =tVbl -----END PGP SIGNATURE----- --9y/g4mUnNulr0E9j--