Is it possible to use this library in java?
Is it possible to use pg_query_split_with_parser()/pg_query_parse()/pg_query_parse_plpgsql() in java
@jiangtao69039 There is no official Java wrapper that I'm aware of today, however @davidaventimiglia posted a draft PR over here: https://github.com/pganalyze/libpg_query/pull/154 (that will likely end up being a separate repository, per the PR discussion)
@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!
@lfittl I'm trying to wrapper libpg_query.so using JNA. https://github.com/jiangtao69039/pg_parser_java