public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Francois-Guillaume Ribreau <[email protected]>
Cc: [email protected]
Subject: Re: Best practice: call an internal postgresql function (e.g. raw_parser) from another C/Rust binary
Date: Tue, 03 Nov 2020 16:47:49 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAOpx105CqjtkDLxyT6P0ftyWCHgigm7jhutonbitCg-YUw5eGQ@mail.gmail.com>
References: <CAOpx105CqjtkDLxyT6P0ftyWCHgigm7jhutonbitCg-YUw5eGQ@mail.gmail.com>
Francois-Guillaume Ribreau <[email protected]> writes:
> I wonder what is the easiest way to extract and (ab)use the raw_parser
> function out of postgresql codebase, as a library, so I can use it from my
> own code in Rust.
You're not the first to have thought of that. I'm failing to locate
any relevant threads in our archives, but I distinctly recall having
heard of somebody who'd made a standalone version of our lexer+grammar.
You might try searching on github.
(I make no warranties about how up-to-date any such project may be.)
regards, tom lane
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Best practice: call an internal postgresql function (e.g. raw_parser) from another C/Rust binary
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox