From a0b5b6fe94b4d3da9fd9d6055a771b7a556265bd Mon Sep 17 00:00:00 2001 From: Burak Velioglu Date: Tue, 18 Jan 2022 00:23:45 +0300 Subject: [PATCH] Fix password hashing --- .../expected/isolation_distributed_transaction_id.out | 2 +- src/test/regress/sql/multi_metadata_sync.sql | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/test/regress/expected/isolation_distributed_transaction_id.out b/src/test/regress/expected/isolation_distributed_transaction_id.out index e813ab4de..1e41f8957 100644 --- a/src/test/regress/expected/isolation_distributed_transaction_id.out +++ b/src/test/regress/expected/isolation_distributed_transaction_id.out @@ -104,7 +104,7 @@ nodeport|xact_exists 57638|t (2 rows) -step s1-drop-table: +step s1-drop-table: DROP TABLE distributed_transaction_id_table; step s1-commit: diff --git a/src/test/regress/sql/multi_metadata_sync.sql b/src/test/regress/sql/multi_metadata_sync.sql index 60d2caf77..4d13b4459 100644 --- a/src/test/regress/sql/multi_metadata_sync.sql +++ b/src/test/regress/sql/multi_metadata_sync.sql @@ -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;