mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
@@ -188,7 +188,7 @@ We use the `PARTITION BY HASH` hashing function, the same as used by Postgres fo
|
|||||||
To route queries to a particular shard, we use this custom SQL syntax:
|
To route queries to a particular shard, we use this custom SQL syntax:
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
-- To talk to a shard explicitely
|
-- To talk to a shard explicitly
|
||||||
SET SHARD TO '1';
|
SET SHARD TO '1';
|
||||||
|
|
||||||
-- To let the pooler choose based on a value
|
-- To let the pooler choose based on a value
|
||||||
|
|||||||
Reference in New Issue
Block a user