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

Ensure update_source always works from a clean state #117

Closed seanlinsley closed 3 months ago

seanlinsley commented 4 months ago

If make clean isn't called before make update_source, changes to LIB_PG_QUERY_TAG won't take effect because of the locally cached state. Fix that by ensuring clean is a dependency for update_source so it's always called first.