Re: The PostgreSQL C Dialect - Mailing list pgsql-hackers

From Christophe Pettus
Subject Re: The PostgreSQL C Dialect
Date
Msg-id C9E1B705-F59F-4D11-B3A0-C0DE76D547DF@thebuild.com
Whole thread
In response to Re: The PostgreSQL C Dialect  (Roberto Mello <roberto.mello@gmail.com>)
List pgsql-hackers
I did use Claude Opus 4.8 to expand on my rather cryptic and uninteresting notes into something more readable.

I did use a different model to check everything, which was me. :-)

On Jun 22, 2026, at 15:10, Roberto Mello <roberto.mello@gmail.com> wrote:

Very nice. 

Given the many emdashes in the text, can I ask if you used an LLM to write it? If so, which one?

And importantly, if an LLM was used (no issues there) did you ask a different model to double-check every statement it makes, just to be sure?

Thanks,

Roberto

On Mon, Jun 22, 2026 at 1:39 PM Christophe Pettus <xof@thebuild.com> wrote:
When I was writing my first PostgreSQL extension, I was at sea on a lot of the conventions that make up the "PostgreSQL C Dialect."  I've taken my notes, added some additional things that confused me, and put it up on the wiki for review:

        https://wiki.postgresql.org/wiki/The_PostgreSQL_C_Dialect

Feedback welcome, of course!


pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Show estimated number of groups for IncrementalSort in EXPLAIN
Next
From: Michael Paquier
Date:
Subject: Re: Fix contradictory comment for pgstat_slru_flush_cb()