The lifecycle of a sharded Postgres query - Enggist