"A.Bhuvaneswaran" <bhuvan@symonds.net> writes:
> I wish to have host & hostssl entries in single pg_hba.conf file. If ssl
> is set to true in postgresql.conf, even though we have host entry in
> pg_hba.conf, ssl connection is established. Is it a bug or am i doing
> something wrong?
That is the intended behavior. In 7.4 you can control from the client
side whether libpq will try SSL or non-SSL first, but AFAIR the 7.3
client will always try SSL first if enabled.
regards, tom lane