Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FYI: fork with async versions, PLPgSQL parsing, newer parser #13

Open
ethanresnick opened this issue Jul 27, 2019 · 3 comments
Open

FYI: fork with async versions, PLPgSQL parsing, newer parser #13

ethanresnick opened this issue Jul 27, 2019 · 3 comments

Comments

@ethanresnick
Copy link

Thanks for your work on this library!

I needed some features that were missing — namely, access to the libpg_query parsing for Pl/PgSQL functions, and the ability to do parsing asynchronously from Node — so I made my own fork and published it to npm as pg-plpgsql-query-native. To handle the async stuff, I also updated the C++ code to use the Node Addons API bindings to N-API.

Just thought I'd let you know in case you want to expose async parsing as part of your pg-query-parser package.

@pyramation
Copy link

@ethanresnick this is super cool! I've been maintaining another fork of the parser that uses this library. I'd love to use your library and will start to integrate it :)

@pyramation
Copy link

pyramation commented Jul 3, 2020

@ethanresnick I just upgraded this, and tested it out, and it's way more portable! Worked on node 10, 12, and 14!

Thanks for putting this together. Hope to stay in touch, cheers!

If you're interested in where I'm using it: https://github.com/pyramation/pgsql-parser

@aleclarson
Copy link

aleclarson commented Sep 13, 2024

Hey guys, really appreciate your work!

I just released @pg-nano/pg-parser which is forked from launchql/libpg-query-node. It returns a 100% type-safe AST. It also includes utilities like walk, select, and type guards.

https://github.com/pg-nano/pg-parser

pnpm add @pg-nano/pg-parser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants