Skip to content

feat(postgres): add support for Inet type in Postgres integration #808

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

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

holicc
Copy link
Collaborator

@holicc holicc commented May 23, 2025

- Introduced the `cidr` crate and updated the Postgres transport to handle the `Inet` type.
- Modified the `Cargo.toml` and `Cargo.lock` to include the `cidr` dependency.
- Enhanced type conversion for `IpInet` in PostgresArrowTransport.
- Updated SQL scripts and tests to accommodate the new `Inet` type.
@wangxiaoying
Copy link
Contributor

wangxiaoying commented May 26, 2025

Thanks @holicc for the PR! I will review this by the end of this week.

@wangxiaoying
Copy link
Contributor

The code looks good to me. Thanks @holicc again!

Maybe later we can add this type to other destinations as well, including pandas and arrow_stream.

@wangxiaoying wangxiaoying merged commit c5b8922 into sfu-db:main Jun 2, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants