On Mar 13, 2005, at 5:39 PM, Berényi Gábor wrote:
> I want to send a password __safely__ to the backend that does not
> support ssl, and want to know if libpq will encode it automatically if
> just call PQconnectdb() with an __unencoded__ password and if I ask
> the server administrator to set up an md5 auth method for me in
Yes. If you specify md5 in the pg_hba.conf file, that is what the
server will tell libpq to send.
If you have any concerns, try watching your session with something like
John DeSoi, Ph.D.
Power Tools for PostgreSQL
In response to
pgsql-interfaces by date
|Next:||From: SG Edwards||Date: 2005-03-15 21:07:43|
|Subject: Check before insert|
|Previous:||From: Berényi Gábor||Date: 2005-03-13 22:39:18|
|Subject: simple question|