In fact when i don't pass the password for the specified username, i get logged in but it should not happened. if i specify wrong password but valid username then also it gives me entry into postgres interactive mode, also from the c++ connection object. please tell me how to implement the security using password in postgres.