pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedProblem with psqlodbc
4+ messages / 2 participants
[nested] [flat]
* Problem with psqlodbc
@ 2010-12-08 12:36 Paweł Kopka <pawelkopka@wp.pl>
2010-12-08 21:38 ` Re: Problem with psqlodbc Hiroshi Inoue <inoue@tpf.co.jp>
0 siblings, 1 reply; 4+ messages in thread
From: Paweł Kopka @ 2010-12-08 12:36 UTC (permalink / raw)
To: pgsql-odbc
Hi,
I have a problem with PostgreSQL ODBC (version psqlodbc_08_04_0200). After I have set ssl=true in connection string sometimes my application in vb.net throws this error:
“ERROR [08001] connction string lacks some options”
Without ssl the connection works perfectly.
Has someone any idea what the problem is.
best regards
Pawel
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Problem with psqlodbc
2010-12-08 12:36 Problem with psqlodbc Paweł Kopka <pawelkopka@wp.pl>
@ 2010-12-08 21:38 ` Hiroshi Inoue <inoue@tpf.co.jp>
2010-12-08 22:16 ` Re: Problem with psqlodbc Paweł Kopka <pawelkopka@wp.pl>
0 siblings, 1 reply; 4+ messages in thread
From: Hiroshi Inoue @ 2010-12-08 21:38 UTC (permalink / raw)
To: Paweł Kopka <pawelkopka@wp.pl>; +Cc: pgsql-odbc
(2010/12/08 21:36), Paweł Kopka wrote:
> Hi,
> I have a problem with PostgreSQL ODBC (version psqlodbc_08_04_0200).
> After I have set ssl=true in connection string sometimes my application
> in vb.net throws this error:
What is your connection string concretely?
Anyway ssl=true is not an effective option.
Maybe sslmode=disable/allow/prefer/require is the correspoding option.
> “ERROR [08001] connction string lacks some options”
> Without ssl the connection works perfectly.
> Has someone any idea what the problem is.
> best regards
> Pawel
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Problem with psqlodbc
2010-12-08 12:36 Problem with psqlodbc Paweł Kopka <pawelkopka@wp.pl>
2010-12-08 21:38 ` Re: Problem with psqlodbc Hiroshi Inoue <inoue@tpf.co.jp>
@ 2010-12-08 22:16 ` Paweł Kopka <pawelkopka@wp.pl>
2010-12-09 10:31 ` Re: Problem with psqlodbc Hiroshi Inoue <inoue@tpf.co.jp>
0 siblings, 1 reply; 4+ messages in thread
From: Paweł Kopka @ 2010-12-08 22:16 UTC (permalink / raw)
To: Hiroshi Inoue <inoue@tpf.co.jp>; +Cc: pgsql-odbc
This is the connection string:
("Driver=" & lvarPostgreOdbcName & ";Server=" & mvarServer & ";Uid=" &
mvarUser & ";" & _
"Pwd=" & mvarPassword & "; Database=" & mvarDataBase & ";Port=" &
lvarPort & ";SSL=True;sslmode=prefer")
-----Oryginalna wiadomość-----
From: Hiroshi Inoue
Sent: Wednesday, December 08, 2010 10:38 PM
To: Paweł Kopka
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Problem with psqlodbc
(2010/12/08 21:36), Paweł Kopka wrote:
> Hi,
> I have a problem with PostgreSQL ODBC (version psqlodbc_08_04_0200).
> After I have set ssl=true in connection string sometimes my application
> in vb.net throws this error:
What is your connection string concretely?
Anyway ssl=true is not an effective option.
Maybe sslmode=disable/allow/prefer/require is the correspoding option.
> “ERROR [08001] connction string lacks some options”
> Without ssl the connection works perfectly.
> Has someone any idea what the problem is.
> best regards
> Pawel
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Problem with psqlodbc
2010-12-08 12:36 Problem with psqlodbc Paweł Kopka <pawelkopka@wp.pl>
2010-12-08 21:38 ` Re: Problem with psqlodbc Hiroshi Inoue <inoue@tpf.co.jp>
2010-12-08 22:16 ` Re: Problem with psqlodbc Paweł Kopka <pawelkopka@wp.pl>
@ 2010-12-09 10:31 ` Hiroshi Inoue <inoue@tpf.co.jp>
0 siblings, 0 replies; 4+ messages in thread
From: Hiroshi Inoue @ 2010-12-09 10:31 UTC (permalink / raw)
To: Paweł Kopka <pawelkopka@wp.pl>; +Cc: pgsql-odbc
(2010/12/09 7:16), Paweł Kopka wrote:
> This is the connection string:
>
> ("Driver=" & lvarPostgreOdbcName & ";Server=" & mvarServer & ";Uid=" &
> mvarUser & ";" & _
> "Pwd=" & mvarPassword & "; Database=" & mvarDataBase & ";Port=" &
There is a space between ";" and "Database=".
Isn't it a problem?
> lvarPort & ";SSL=True;sslmode=prefer")
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2010-12-09 10:31 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-12-08 12:36 Problem with psqlodbc Paweł Kopka <pawelkopka@wp.pl>
2010-12-08 21:38 ` Hiroshi Inoue <inoue@tpf.co.jp>
2010-12-08 22:16 ` Paweł Kopka <pawelkopka@wp.pl>
2010-12-09 10:31 ` Hiroshi Inoue <inoue@tpf.co.jp>
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