Hi,

On Mon, Jun 22, 2026 at 12:39:36PM -0700, Christophe Pettus 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!

Thanks for doing this, that's cool work!

One comment about "The frontend/backend split and portability", what about 
adding
that (see 49bff412)

"
Headers never include postgres.h, postgres_fe.h, or c.h themselves.
"

say, before the "The FRONTEND macro" bullet?

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com


Reply via email to