pgcat icon indicating copy to clipboard operation
pgcat copied to clipboard

Fix: unrecognized configuration parameter "shard"

Open lyang24 opened this issue 1 year ago • 1 comments

Fix: https://github.com/postgresml/pgcat/issues/492

Noob approach: I think that once the pool sharding regex is set we just pick shard and stopped parsing pgcat custom commands for an example . I refactor the code to swtiched the order of things that such non-custom querys will be assigned on shard if enabled, and set shard/ set shard key will override the assignment.

lyang24 avatar Sep 26 '23 06:09 lyang24

Oh I see what's going on I think. Let me give this PR a more thorough review and I'll get back to you asap.

levkk avatar Oct 06 '23 01:10 levkk