pganalyze / pg_query_go

Go library to parse and normalize SQL queries using the PostgreSQL query parser
BSD 3-Clause "New" or "Revised" License
663 stars 79 forks source link

feature request: expose pg_query_scan as a go function #42

Closed SKalt closed 3 years ago

SKalt commented 3 years ago

I noticed that the go library exports ScanToken and ScanResult but no functions which return those structs. I expect the go version of pg_query_scan from pg_query.h would generate them.