Closed gstarikov closed 3 weeks ago
However, I'm currently working on this, alongside other changes to types as a whole, so this is badly timed 😬
I'll close this PR now, but please send in other PRs if you have the time. I really appreciate the help 🙏🏾
Actually, this has already been released in v0.27.0
there is support for cidr postgres type in 0.27.0
, but i need to fix inet support. in case of inet type and single ip subnet (/32 or /128) postgres will return only ip addres, without '/' suffix and netip.ParsePrefix will fail with error.
I understand now. This is very helpful.
Hi. Postgres inet type may contain /32 or /128 subnet and in that cases postgress will return string without '/' and netip.ParsePrefix will fail with error.