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

From Christophe Pettus
Subject Re: The PostgreSQL C Dialect
Date
Msg-id ACE262A9-0CC4-4622-8DE0-1B0F2BD26D84@thebuild.com
Whole thread
In response to Re: The PostgreSQL C Dialect  (John Naylor <johncnaylorls@gmail.com>)
List pgsql-hackers

> On Jun 22, 2026, at 20:32, John Naylor <johncnaylorls@gmail.com> wrote:
>
> Size, Index - These are not common, and I think they are actually
> discouraged now, in favor of the more common size_t and uint32. I'm
> not sure if there's a consensus on that, though.

Thanks! I'll be happy to edit if appropriate.

> C99 -> we started requiring C11 during the dev cycle of the PG19, and
> it doesn't seem to early to mention that. The part about C99 features
> we don't allow are still accurate, I believe.

Good catch. I've updated the mentions, as well as moving the C-language baseline up (it was in kind of a weird and
offhandplace before). I did add an admonition to not be too innovative in the use of new features in C11 without making
surethere is consensus here as to their use. 


pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [PATCH] doc: clarify pg_stat_lock.fastpath_exceeded scope
Next
From: Richard Guo
Date:
Subject: Re: Remove inner joins based on foreign keys