pgtype
pgtype copied to clipboard
Support for multirange
Coming with postgres 14: https://www.postgresql.org/docs/14/rangetypes.html
Supported:
- [x] int4range
- [x] int8range
- [x] numrange
- [ ] tsrange
- [ ] tstzrange
- [ ] daterange
Hi, I am actually trying to work on this feature - forgive my ignorance since I am new to this library, but how do you find the OID for these multirange types, say nummultirange , can it be assigned to any value?
Look in the pg_type table. e.g. select oid, typname from pg_type;
Support for numeric, int4 and int8 types where added in #148