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

Is it possible to use this library in java? #152

Open
jiangtao69039 opened this issue Oct 28, 2022 · 3 comments
Open

Is it possible to use this library in java? #152

jiangtao69039 opened this issue Oct 28, 2022 · 3 comments
Labels

Comments

@jiangtao69039
Copy link

Is it possible to use pg_query_split_with_parser()/pg_query_parse()/pg_query_parse_plpgsql() in java

@lfittl
Copy link
Member

lfittl commented Nov 2, 2022

@jiangtao69039 There is no official Java wrapper that I'm aware of today, however @davidaventimiglia posted a draft PR over here: #154 (that will likely end up being a separate repository, per the PR discussion)

@lfittl lfittl added the question label Nov 2, 2022
@davidaventimiglia
Copy link

@jiangtao69039 and @lfittl I threw those components into a separate repository, per the PR discussion, here:

https://github.com/davidaventimiglia/pg_java

There's loads of work and cleanup to do, but if you're impatient, this is a starting point. Let me know how I can help. Cheers!

@jiangtao69039
Copy link
Author

@lfittl I'm trying to wrapper libpg_query.so using JNA.
https://github.com/jiangtao69039/pg_parser_java

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

No branches or pull requests

3 participants