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

Add FingerprintToUInt64 method for callers that prefer to handle uint64s #34

Closed lfittl closed 3 years ago

lfittl commented 3 years ago

This prevents a caller from having to do a hex string to uint64 conversion by simply returning the uint64 version of the fingerprint instead, which is already always provided by libpg_query.