postgres client only installation.

this change is to allow installation of postgresql client only.
Don't use unless-else.