theory / pg-semver

A semantic version data type for PostgreSQL
Other
145 stars 24 forks source link

Revamp send/receive and test it #62

Closed theory closed 2 years ago

theory commented 2 years ago

Follow ltree's example by prepending a version and using the pg_msg functions. Add tests. A little hinky to use \copy to write to a file and then read it back in, but it is the only way I could figure out to test the receive function, which binary COPY FROM uses.

Increment to v0.32.0 and update the copyright date.

A million thanks to @ascclemens for making this happen!

theory commented 2 years ago

v0.32.0 now released with this change and on PGXN. Thank you so much for getting this going, @ascclemens!