Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 632E31337B55 for ; Wed, 8 Dec 2010 18:21:42 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 06353-03 for ; Wed, 8 Dec 2010 22:21:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx3.wp.pl (mx3.wp.pl [212.77.101.7]) by mail.postgresql.org (Postfix) with ESMTP id B61FB1337B54 for ; Wed, 8 Dec 2010 18:21:33 -0400 (AST) Received: (wp-smtpd smtp.wp.pl 19735 invoked from network); 8 Dec 2010 23:21:30 +0100 Received: from achg200.neoplus.adsl.tpnet.pl (HELO pkop) (pawelkopka@[83.10.4.200]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 8 Dec 2010 23:21:30 +0100 Message-ID: <8EF8222B5911460CB5B1958988FA7AD2@pkop> From: =?UTF-8?Q?Pawe=C5=82_Kopka?= To: "Hiroshi Inoue" Cc: References: <4CFFFABA.5070900@tpf.co.jp> In-Reply-To: <4CFFFABA.5070900@tpf.co.jp> Subject: Re: Problem with psqlodbc Date: Wed, 8 Dec 2010 23:16:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3502.922 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3502.922 X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [8eKM] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.209 tagged_above=-10 required=5 tests=BAYES_05=-0.5, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/8 X-Sequence-Number: 10530 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