encrypt_password_warning_fix.patch

application/octet-stream

Filename: encrypt_password_warning_fix.patch
Type: application/octet-stream
Part: 0
Message: Re: pg_authid.rolpassword format (was Re: Password identifiers, protocol aging and SCRAM protocol)

Patch

Format: unified
File+
src/backend/libpq/crypt.c 1 0
diff --git a/src/backend/libpq/crypt.c b/src/backend/libpq/crypt.c
index 893ce6e..e7dd212 100644
--- a/src/backend/libpq/crypt.c
+++ b/src/backend/libpq/crypt.c
@@ -160,6 +160,7 @@ encrypt_password(PasswordType target_type, const char *role,
 	 * handle every combination of source and target password types.
 	 */
 	elog(ERROR, "cannot encrypt password to requested type");
+	return NULL;		/* keep compiler quiet */
 }
 
 /*