Re: The PostgreSQL C Dialect

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: Roberto Mello <roberto(dot)mello(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: The PostgreSQL C Dialect
Date: 2026-06-22 23:14:39
Message-ID: C9E1B705-F59F-4D11-B3A0-C0DE76D547DF@thebuild.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(dot)mello(at)gmail(dot)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(at)thebuild(dot)com <mailto:xof(at)thebuild(dot)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!
>>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-06-22 23:29:20 Re: Fix contradictory comment for pgstat_slru_flush_cb()
Previous Message Chao Li 2026-06-22 23:08:00 Re: psql: Fix CREATE SCHEMA scanning of nested routine bodies