Re: pure parsers and reentrant scanners

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pure parsers and reentrant scanners
Date: 2024-12-18 18:44:47
Message-ID: 6a673976-59f6-4749-bc20-793547221804@proxel.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/18/24 10:42 AM, Peter Eisentraut wrote:
> I can fix that with the attached patch.
>
> The symbol YY_TYPEDEF_YY_SCANNER_T isn't documented, but we already use
> it elsewhere in the code.
>
> Note that in replication/syncrep.h and replication/walsender_private.h
> we have to have an #ifndef wrapper because there are files that end up
> including both headers.  Maybe we should put that #ifndef wrapper
> everywhere for consistency?
>
> Any thoughts?

Seems like a sane fix to me and as for the ifndef I have no strong
opinion either way but I would personally probably have added it
everywhere for consistency.

Andreas

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2024-12-18 18:47:02 Re: Final result (display) collation?
Previous Message Jeff Davis 2024-12-18 18:40:06 Re: Add CASEFOLD() function.