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-06 06:50:19
Message-ID: 20210606065019.rvgiqtjvtazgmwvm@nol
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2021-06-06 06:53:10 Misplaced superuser check in pg_log_backend_memory_contexts()
Previous Message Noah Misch 2021-06-06 06:33:31 Re: Since '2001-09-09 01:46:40'::timestamp microseconds are lost when extracting epoch