X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 11AB79DC89B for ; Fri, 23 Dec 2005 20:23:33 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67643-08 for ; Fri, 23 Dec 2005 20:23:35 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from gk-us2.us.michelin.com (gk-us2.michelin.com [156.65.14.19]) by postgresql.org (Postfix) with ESMTP id 2CA719DC89A for ; Fri, 23 Dec 2005 20:23:29 -0400 (AST) Received: from oncpfxp3-out.onc.michelin.com (unverified [10.21.4.30]) by gk-us2.us.michelin.com (Clearswift SMTPRS 5.1.7) with ESMTP id for ; Fri, 23 Dec 2005 19:22:42 -0500 Received: from ONCMH1.onc.michelin.com (ONCMH1.onc.michelin.com [156.65.124.40]) by oncpfxp3-out.onc.michelin.com (Postfix) with ESMTP id C3D001D8C2 for ; Fri, 23 Dec 2005 19:17:18 -0500 (EST) Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Fri, 23 Dec 2005 19:17:18 -0500 Received: from oncems01.onc.michelin.com ([156.65.125.150]) by oncmtap1.onc.michelin.com (Netscape Messaging Server 4.15) with ESMTP id IRZ7GT00.H5V for ; Fri, 23 Dec 2005 19:17:17 -0500 Received: from [10.36.138.5] (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Fri, 23 Dec 2005 19:17:17 -0500 Message-Id: <43AC9389.3000809@us.michelin.com> Date: Fri, 23 Dec 2005 19:17:13 -0500 From: "Campbell, Greg" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-2?Q?Zlatko_Mati=E6?= CC: pgsql-odbc@postgresql.org Subject: Re: ODBC connection string, MS Access References: <000101c606f2$771142b0$6bff8353@zlatkovyfkpgz6> In-Reply-To: <000101c606f2$771142b0$6bff8353@zlatkovyfkpgz6> Content-Type: multipart/mixed; boundary="------------030703000605050009080308" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.943 required=5 tests=[AWL=-0.209, RCVD_IN_WHOIS_INVALID=2.151, UNPARSEABLE_RELAY=0.001, UPPERCASE_25_50=0] X-Spam-Score: 1.943 X-Spam-Level: * X-Archive-Number: 200512/310 X-Sequence-Number: 6789 This is a multi-part message in MIME format. --------------030703000605050009080308 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Have you tried not specifying anything other than Driver, Server, Database, UID, PWD? Most items have a default like PORT defaults to 5432. Zlatko Matiæ wrote: > Hello. > > Could you, please, help me to optimize my connection string (MS Access 2003, PostgreSQL 8.1.1. and psqlodbc-08_01_0102)? > > ' PG_ODBC_PARAMETER ACCESS_PARAMETER > ' ********************************************* > ' READONLY A0 > ' PROTOCOL A1 > ' FAKEOIDINDEX A2 'A2 must be 0 unless A3=1 > ' SHOWOIDCOLUMN A3 > ' ROWVERSIONING A4 > ' SHOWSYSTEMTABLES A5 > ' CONNSETTINGS A6 > ' FETCH A7 > ' SOCKET A8 > ' UNKNOWNSIZES A9 ' range [0-2] > ' MAXVARCHARSIZE B0 > ' MAXLONGVARCHARSIZE B1 > ' DEBUG B2 > ' COMMLOG B3 > ' OPTIMIZER B4 ' note that 1 = _cancel_ generic optimizer... > ' KSQO B5 > ' USEDECLAREFETCH B6 > ' TEXTASLONGVARCHAR B7 > ' UNKNOWNSASLONGVARCHAR B8 > ' BOOLSASCHAR B9 > ' PARSE C0 > ' CANCELASFREESTMT C1 > ' EXTRASYSTABLEPREFIXES C2 > > 'Connection string > CONNECTIONSTRING: > strConnInfo = "ODBC;Driver=" & Driver & ";Server=" & SERVER & ";Port=" & PORT & ";Database=" & DATABASE & ";" > strConnUserPass = "Uid=" & USERNAME & ";Pwd=" & PASSWORD & ";" > strConnParms = "A0=0;A1=6.4;A2=0;A3=0;A4=1;A5=0;A6=" & A6 & ";A7=100;A8=" & SOCKET & ";A9=1;" & _ > "B0=254;B1=8190;B2=0;B3=0;B4=1;B5=1;B6=0;B7=1;B8=0;B9=0;" & _ > "C0=0;C1=0;C2=dd_;" > > There are some options I don't understand, for example "Parse statements" and "Fetch/Declare" and don't know how would it affect performances... > Also, there is a problem with the limited length of connection string that Access can handle, so I have a problem that I can't input some bigger usernames and passwords. Therefore I would like to remove some unneccessary parameters, if possible. Which parameters could be safely removed? > > Thanks in advance, > > Zlatko > > --------------030703000605050009080308 Content-Type: text/x-vcard; charset=utf-8; name="greg.campbell.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="greg.campbell.vcf" begin:vcard fn:Greg Campbell n:Campbell;Greg org:Michelin North America - US5 Lexington;ENG-ASE email;internet:greg.campbell@us.michelin.com title:ASE Systems Engineer tel;work:803-951-5561/x75561 x-mozilla-html:FALSE version:2.1 end:vcard --------------030703000605050009080308--