[postgres@centos7 ~]$ psql -c "select name,setting,unit,context from pg_settings where name ~* 'ssl_library';" name | setting | unit | context -------------+---------+------+---------- ssl_library | OpenSSL | | internal (1 row)