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 <[email protected]> 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! >
