kaaveland / eugene

Careful With that Lock, Eugene
MIT License
32 stars 1 forks source link

Fix SQL-parsing technical debt #7

Closed kaaveland closed 6 months ago

kaaveland commented 7 months ago

Currently using a really bare-bones character by character parsing approach to get going quickly, but this has a lot of obvious problems:

https://github.com/pganalyze/pg_query.rs might do some of the heavy lifting here, although it appears to link with libpq (or perhaps some part of the server?) so it might be heavy weight.

Essentially we should reimplement most of the whole sqltext module, using some library for parsing SQL.