This is a PAM plugin module to authenticate users using the PostgreSQL, it's more secure because you can let the database in a low-level secure machine and just one postgresql user will be granted to connect to this database using restricted functions