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

Support inet/cidr operators #299

Closed
LordMike opened this issue Feb 10, 2018 · 5 comments
Closed

Support inet/cidr operators #299

LordMike opened this issue Feb 10, 2018 · 5 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@LordMike
Copy link

As pr. Gitter chat.

For a project, I need to be able to perform containment/comparison operations on inet/cidr types, so the operators in the below documentation would be awesome to have :).

https://www.postgresql.org/docs/9.3/static/functions-net.html

@LordMike LordMike changed the title Support inet operators Support inet/cidr operators Feb 10, 2018
@roji roji added the enhancement New feature or request label Feb 10, 2018
@roji roji added this to the 2.1.0 milestone Feb 10, 2018
@roji
Copy link
Member

roji commented Feb 11, 2018

@LordMike can you please provide some more detail on exactly which operators you need in your application?

@LordMike
Copy link
Author

For this specific project, contains-or-equals operators. So: <<, <<=, >> and >>=.

@roji roji modified the milestones: 2.1.0, Backlog May 12, 2018
@austindrenski
Copy link
Contributor

It looks like this could be implemented in the same way as #323 (extension stubs + attributes).

@roji If no one is actively working on this, I'm happy to volunteer to take this one.

@roji
Copy link
Member

roji commented May 15, 2018

@austindrenski you're welcome to work on this, it should be even easier than ranges (no generics). However, please take into account my comment on the design before starting to implement, so we're agreed on how we want translators to look like.

@austindrenski
Copy link
Contributor

This feature was completed in #407 and #535.

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

No branches or pull requests

3 participants