I created this tool because there were some SQL statements that psqldef couldn't parse.
Since it uses pg_query_go, you can parse the SQL using PostgreSQL's SQL parser.
You can try out the demo using the following command:
docker run --rm -it ghcr.io/winebarrel/pistachio-demo