libpq is the C application programmer's interface to PostgreSQL.
I read there is a more secure way to connect to postgresql db without specifying password in source code using …