In https://metacpan.org/pod/DBD::Pg , it says:
"There are four valid arguments to the sslmode parameter, which controls whether to use SSL to connect to the database:"
So there are two issues:
- "There are four" implies to many people that there are not five or more
- The very important option to verify server SSL certificate (
sslmode=verify-full;sslrootcert=system) is missing from the list of the four valid arguments.
In https://metacpan.org/pod/DBD::Pg , it says:
"There are four valid arguments to the sslmode parameter, which controls whether to use SSL to connect to the database:"
So there are two issues:
sslmode=verify-full;sslrootcert=system) is missing from the list of the four valid arguments.