Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Range type support #1796

Open
hashhar opened this issue Jun 9, 2020 · 2 comments
Open

Range type support #1796

hashhar opened this issue Jun 9, 2020 · 2 comments

Comments

@hashhar
Copy link

hashhar commented Jun 9, 2020

I'm submitting a feature request

PostgreSQL's JDBC driver doesn't provide an implementation of the various range types.

Expected behaviour

pgjdbc should provide an implementation of Range types by implementing a class extending PGObject similar to how PGInterval or PGMoney are handled today.

@hashhar
Copy link
Author

hashhar commented Jun 9, 2020

See debezium/debezium#1505 for an example use-case where such support might be useful and the following questions on StackOverflow for some ways people today try to workaround this: implementing custom types or depending on string parsing by PostgreSQL.

@maffe
Copy link
Contributor

maffe commented Jul 8, 2020

For int4range, int8range and numrange there is an implementation in #947. Personally I would like to have daterange support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants