neondatabase / neon

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
https://neon.tech
Apache License 2.0
15.22k stars 444 forks source link

utils: use `ShardIdentity` in `postgres_client.rs #9823

Open VladLazar opened 2 days ago

VladLazar commented 2 days ago

The right thing to do is to move ShardIdentity into utils, but I didn't want to baloon this PR with moving stuff around. Let's do it as a follow-up.

_Originally posted by @VladLazar in https://github.com/neondatabase/neon/pull/9746#discussion_r1846338796_