You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
start up PgCat by running cargo run --release in the root of the repo
run psql -h 127.0.0.1 -p 6432 -f query_routing_test_insert.sql
- this command does not work, and I run this one instead: PGPASSWORD=sharding_user psql sharded_db -h 127.0.0.1 -p 6432 -U sharding_user -f query_routing_test_insert.sql
Expected behavior
It's expected for the test to run successfully. However, it fails with:
SET SHARDING KEY
INSERT 0 1
psql:query_routing_test_insert.sql:6: ERROR: syntax error at or near "KEY"
LINE 1: SET SHARDING KEY TO '2';
^
Describe the bug
To Reproduce
Steps to reproduce the behavior:
main
@ 9d1c46apsql -f query_routing_setup.sql
cargo run --release
in the root of the repopsql -h 127.0.0.1 -p 6432 -f query_routing_test_insert.sql
- this command does not work, and I run this one instead:
PGPASSWORD=sharding_user psql sharded_db -h 127.0.0.1 -p 6432 -U sharding_user -f query_routing_test_insert.sql
Expected behavior
It's expected for the test to run successfully. However, it fails with:
Desktop
main
@ 9d1c46a)The text was updated successfully, but these errors were encountered: