Support and default to UUID for PostgreSQL uuid
Closes https://github.com/invenia/LibPQ.jl/issues/260
This adds binary format parsing for UUID and sets the default Julia type for PostgreSQL's uuid to Base.UUID. The import relies on the UUIDs stdlib export for stability's sake.
Array support was easy enough to add as well.
Open question on whether changing the default type away from the String fallback needs a major version update: https://discourse.julialang.org/t/anyone-fetching-uuids-using-libpq-jl/89395/3
I think if people conclude it does, I'll change to ensure this doesn't set the default but still supports the same operations when UUID is specified.
Seems to work well. Can it be merged?
LGTM, reminder to bump the minor release. I'm inclined to holdoff on changing the String fallback for now. Might want to make an issue for it though?
Good to merge?
No, this MR needs a rebase before we can proceed.
Rebased: https://github.com/iamed2/LibPQ.jl/pull/288