Open benbro opened 4 years ago
It would be a change to https://github.com/tsloughter/pg_types in pg_range.erl
. I don't really have an opinion either way so would accept a PR to add support to also support this other form.
Less parentheses is less verbose to me and match the PostgreSQL structure. If you think the current form is OK, one form is better than two forms.
Do you think we should change the tstzrange parentheses before 1.0.0-rc1 to this? {DateTime1, DateTime2, {LowerBound, UpperBound}} If not, this issue can be closed.
tstzrange in PostgreSQL:
In pgo:
Is it possible to remove one pair of parentheses to make the representation closer to PostgreSQL?
instead of