Re-validate connection string in libpqrcv_connect().
A superuser may create a subscription with password_required=true, but
which uses a connection string without a password.
Previously, if the owner of such a subscription was changed to a
non-superuser, the non-superuser was able to utilize a password from
another source (like a password file or the PGPASSWORD environment
variable), which should not have been allowed.
This commit adds a step to re-validate the connection string before
connecting.
Reported-by: Jeff DavisAuthor: Vignesh C
Reviewed-by: Peter Smith, Robert Haas, Amit KapilaDiscussion: https://www.postgresql.org/message-id/flat/
e5892973ae2a80a1a3e0266806640dae3c428100.camel%40j-davis.com
Back-through: 16