Open priyanshi-yb opened 1 month ago
Hello @lfittl,
First of all, thank you for the excellent work on the pg_query_go module.
I was wondering if there are any plans or a roadmap to have ParsePlPgSql()
return a Go struct in the future.
I looked into the code and noticed that the underlying libpg_query C library doesn’t currently offer functionality to return a protobuf tree for PL/pgSQL statements, so I understand this might involve significant work.
Additionally, I see that ParsePlPgSqlToJson() is currently marked as experimental. Are there plans to make it production-ready soon?
Any information you can provide would be greatly appreciated. We plan to use the pg_query_go module extensively in our product, YugabyteDB Voyager. You can find our GitHub repository here: https://github.com/yugabyte/yb-voyager.
Example
error
But this works on PostgreSQL -
Cc: @lfittl