Try to fix failure

pull/7626/head
Jelte Fennema-Nio 2024-06-14 14:15:04 +02:00 committed by Teja Mupparti
parent 7c8a366ba2
commit f883cfdd77
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ SELECT format('user=%s host=localhost port=%s password=%s dbname=regression',
GRANT ALL ON TABLE lineitem, orders, lineitem, customer, nation, part, supplier TO alice, bob;
\c :alice_conninfo
-- router query (should break because of bad password)
INSERT INTO customer VALUES (12345, 'name', NULL, 5, 'phone', 123.45, 'segment', 'comment');
INSERT INTO customer VALUES (12345, 'name', 'aaaa', 5, 'phone', 123.45, 'segment', 'comment');
ERROR: connection to the remote node alice@localhost:xxxxx failed with the following error: FATAL: password authentication failed for user "alice"
-- fix alice's worker1 password ...
UPDATE pg_dist_authinfo

View File

@ -75,7 +75,7 @@ GRANT ALL ON TABLE lineitem, orders, lineitem, customer, nation, part, supplier
\c :alice_conninfo
-- router query (should break because of bad password)
INSERT INTO customer VALUES (12345, 'name', NULL, 5, 'phone', 123.45, 'segment', 'comment');
INSERT INTO customer VALUES (12345, 'name', 'aaaa', 5, 'phone', 123.45, 'segment', 'comment');
-- fix alice's worker1 password ...
UPDATE pg_dist_authinfo