pg-extend-rs icon indicating copy to clipboard operation
pg-extend-rs copied to clipboard

Work with rust-postgres type converters?

Open bluejekyll opened this issue 5 years ago • 2 comments

For example: https://github.com/sfackler/rust-postgres/blob/master/postgres-protocol/src/types.rs

It would be neat to try and reuse those type conversions for PgDatum's. Though they are BigEndian, whereas PgDatum is NativeEndian.

bluejekyll avatar Dec 30 '18 15:12 bluejekyll

Please consider also integrating postgis types. Like these: https://github.com/andelf/rust-postgis https://crates.io/crates/postgis

vittrup88 avatar Sep 28 '19 12:09 vittrup88

I think that would a great addition. It would probably need to be optional, as it would require the postgis extension to be installed.

I think that could be a separate issue.

bluejekyll avatar Sep 28 '19 18:09 bluejekyll