Connection error with sslmode (PgSQL 7.3)

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Connection error with sslmode (PgSQL 7.3)
Date: 2005-12-04 21:25:49
Message-ID: 20051204212549.GB10050@soptik.pzkagis.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hello,

I register problem with connection to PgSQL 7.3. Error is that
PgSQL 7.3 doesn't know connection parameter sslmode.

I think about it and try this solution:
Add SSL mode:
- none - don't add sslmode to connect string
- requiressl_try - use requiressl=0 instead of sslmode
- requiressl_on - use requiressl=1 instead of sslmode

I also change default value from "prefer" to "none". "none" works
aginist all server versions.

There is a question what about Protocol data source option? Isn't
it obsolete?

Comments all welcome

Luf

Attachment Content-Type Size
psqlodbc-sslmode.diff text/plain 7.8 KB

Browse pgsql-odbc by date

  From Date Subject
Next Message Dave Page 2005-12-04 22:27:42 Re: Compilation psqlODBC againist older PgSQL
Previous Message Ludek Finstrle 2005-12-04 21:17:47 Re: Compilation psqlODBC againist older PgSQL