Re: Hook for extensible parsing.

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Hook for extensible parsing.
Date: 2021-06-08 04:16:48
Message-ID: 20210608041648.4in7r5dwcmo6u3io@nol
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sun, Jun 06, 2021 at 02:50:19PM +0800, Julien Rouhaud wrote:
> On Sat, May 01, 2021 at 03:24:58PM +0800, Julien Rouhaud wrote:
> >
> > I'm attaching some POC patches that implement this approach to start a
> > discussion.
> I just noticed that the cfbot fails with the v1 patch. Attached v2 that should
> fix that.

The cfbot then revealed a missing dependency in the makefile to generate the
contrib parser, which triggers in make check-world without a previous
make -C contrib.

Thanks a lot to Thomas Munro for getting me the logfile from the failed cfbot
run and the fix!

Attachment Content-Type Size
v3-0001-Add-a-parser_hook-hook.patch text/x-diff 3.0 KB
v3-0002-Add-a-sqlol-parser.patch text/x-diff 43.6 KB
v3-0003-Add-a-new-MODE_SINGLE_QUERY-to-the-core-parser-an.patch text/x-diff 19.3 KB
v3-0004-Teach-sqlol-to-use-the-new-MODE_SINGLE_QUERY-pars.patch text/x-diff 13.3 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2021-06-08 04:17:53 Re: Duplicate history file?
Previous Message Michael Paquier 2021-06-08 03:46:05 Re: Make unlogged table resets detectable