Fix password hashing

velioglu/wo_seq_test_1
Burak Velioglu 2022-01-18 00:23:45 +03:00
parent c092968f0d
commit a0b5b6fe94
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
2 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,11 @@ COMMENT ON FUNCTION activate_node_snapshot()
-- Show that none of the existing tables are qualified to be MX tables
SELECT * FROM pg_dist_partition WHERE partmethod='h' AND repmodel='s';
-- Since password_encryption default has been changed to sha from md5 with PG14
-- we are updating it manually just for consistent test results between PG versions.
ALTER SYSTEM SET password_encryption TO md5;
SELECT pg_reload_conf();
-- Show that, with no MX tables, activate node snapshot contains only the delete commands,
-- pg_dist_node entries, pg_dist_object entries and roles.
SELECT unnest(activate_node_snapshot()) order by 1;