pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Subject: Incorrect comment in tableam.h regarding GetHeapamTableAmRoutine()
Date: Mon, 27 Nov 2023 14:50:22 +0900
Message-ID: <ZWQuHltp2KS_0Cct@paquier.xyz> (raw)

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

Attachments:

tableam-header-comment.patch (text/x-diff, 631B) download 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(Relation rel, */ extern const TableAmRoutine *GetTableAmRoutine(Oid amhandler); + +/* ---------------------------------------------------------------------------- + * Functions in heapam_handler.c + * ---------------------------------------------------------------------------- + */ + extern const TableAmRoutine *GetHeapamTableAmRoutine(void); #endif /* TABLEAM_H */
signature.asc (application/pgp-signature, 832B) download

view thread (3+ messages)  latest in thread

Message-ID: <ZWQuHltp2KS_0Cct@paquier.xyz>
Permalink:  ../ZWQuHltp2KS_0Cct@paquier.xyz/
Also on:    postgresql.org/message-id/ZWQuHltp2KS_0Cct@paquier.xyz

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: Incorrect comment in tableam.h regarding GetHeapamTableAmRoutine()
  In-Reply-To: <ZWQuHltp2KS_0Cct@paquier.xyz>
  References: <ZWQuHltp2KS_0Cct@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox