pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
host & hostssl entries in single pg_hba.conf
2+ messages / 2 participants
[nested] [flat]

* host & hostssl entries in single pg_hba.conf
@ 2004-04-12 12:00 A.Bhuvaneswaran <bhuvan@symonds.net>
  2004-04-12 13:53 ` Re: host & hostssl entries in single pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: A.Bhuvaneswaran @ 2004-04-12 12:00 UTC (permalink / raw)
  To: pgsql-admin

Hi,

I am using pgsql 7.3.4 on rh linux 7.3.

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?

Isn't it possible to have host & hostssl entry in single pg_hba.conf ?

TIA.

-- 
Regards,
A.Bhuvaneswaran
Systems Engineer

Attachments:

  signature.asc (application/pgp-signature, 231B) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: host & hostssl entries in single pg_hba.conf
  2004-04-12 12:00 host & hostssl entries in single pg_hba.conf A.Bhuvaneswaran <bhuvan@symonds.net>
@ 2004-04-12 13:53 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2004-04-12 13:53 UTC (permalink / raw)
  To: A.Bhuvaneswaran <bhuvan@symonds.net>; +Cc: pgsql-admin

"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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-04-12 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-12 12:00 host & hostssl entries in single pg_hba.conf A.Bhuvaneswaran <bhuvan@symonds.net>
2004-04-12 13:53 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox