Re: Adding comments to extension objects

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Adding comments to extension objects
Date: 2026-08-08 23:48:33
Message-ID: anfAUYQ6iFj5MLvN@momjian.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Aug 8, 2026 at 06:12:40PM -0400, Andrew Dunstan wrote:
> So, if your extension creates a Foreign Data Wrapper, as several of mine do,
> there's really nothing for you to do. By all means comment on it, but it is
> very unlikely to help an MCP server. On the other hand, if it creates functions
> and types, commenting on those is probably a good idea, and if it creates
> tables it's a very good idea.
>
> I also asked claude for a template. It gave me one with a worked example. It's
> attached.

Great idea to use Claude. Also, we should consider cases where it will
help users but not necessarily MCP. FYI, pgvector already completed my
request:

https://github.com/pgvector/pgvector/issues/1013

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Do not let urgent matters crowd out time for investment in the future.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bryan Green 2026-08-09 02:59:57 [PATCH] Avoid uninitialized-value error in poll_query_until timeout diagnostic
Previous Message Andrew Dunstan 2026-08-08 22:12:40 Re: Adding comments to extension objects