Re: The PostgreSQL C Dialect

From: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
To: Christophe Pettus <xof(at)thebuild(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: The PostgreSQL C Dialect
Date: 2026-06-24 20:16:49
Message-ID: CAGECzQSAjR7tkY2SuK7rnk7szmqO7pQ8FC3J8qXGBLTwotAx+w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Really nice wiki page!

I'm biased since I added the foreach_node/foreach_ptr/etc macros, but
I think it'd be good to say that using them is usually preferred over
the foreach+lfirst macro.

On Mon, 22 Jun 2026 at 21:39, Christophe Pettus <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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2026-06-24 20:25:59 Re: Interrupts vs signals
Previous Message Tristan Partin 2026-06-24 20:09:59 Support UUIDv6 in uuid_extract_timestamp()