Re: How to build a new grammer for pg?

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: How to build a new grammer for pg?
Дата
Msg-id 20230801115807.6u5snohi662k5zyp@jrouhaud
обсуждение исходный текст
Ответы Re: How to build a new grammer for pg?  (Chapman Flack <chap@anastigmatix.net>)
Список pgsql-hackers
Hi,

On Tue, Aug 01, 2023 at 07:36:36PM +0800, jacktby wrote:
> <span style="font-family: Helvetica, Helvetica, 微软雅黑, 宋体;">Hi, I’m trying to develop a new grammar for pg, can
+you give me a code example to reference?</span><span>

It's unclear to me whether you want to entirely replace the flex/bison parser
with something else or just add some new bison rule.

If the latter, it really depends on what you change to achieve exactly.  I
guess you could just look at the gram.y git history until you find something
close enough to your use case and get inspiration from that.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: shveta malik
Дата:
Сообщение: Re: Synchronizing slots from primary to standby
Следующее
От: David Rowley
Дата:
Сообщение: Re: Performance degradation on concurrent COPY into a single relation in PG16.