X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E32A8D1B16B for ; Mon, 17 May 2004 20:18:00 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 39002-01 for ; Mon, 17 May 2004 20:17:42 -0300 (ADT) Received: from ecintweb.eldocomp.com (smtp.eldocomp.com [205.159.99.8]) by svr1.postgresql.org (Postfix) with ESMTP id D456BD1B275 for ; Mon, 17 May 2004 20:17:38 -0300 (ADT) Received: by ecintweb.eldocomp.com with XWall v3.29f ; Mon, 17 May 2004 16:17:41 -0700 From: Andrew Ayers To: Jeff Eckermann Cc: Nicola Tiling , "pgsql-odbc@postgresql.org" Subject: Re: ODBC Driver Options Date: Mon, 17 May 2004 16:17:51 -0700 X-Assembled-By: XWall v3.29f Message-ID: <40A9481F.9080104@eldocomp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=EXCUSE_16, LINES_OF_YELLING X-Spam-Level: X-Archive-Number: 200405/36 X-Sequence-Number: 4060 Jeff Eckermann wrote: > A neat little trick that will work with any ODBC > driver: >=20 > 1. Create a file (any name) with a .udl extension. > 2. Run the file > 3. In the dialog that comes up, choose "use > connections string", and "build"; then follow the > prompts. > 4. When done, open the file with a text editor. You > will see a full connection string, with the names of > all of the driver options. >=20 > Thanks to the poster, whose name I cannot recall, who > suggested this. Cool - this works great - thanks! BTW - the "Use declare/fetch" option for the string was: UseDeclareFetch=3D1 (or 0 to turn off) [smacks head against desk - walks away in shame] Andrew > --- Andrew Ayers wrote: >=20 >>Nicola Tiling wrote: >> >>>Have a look here >>> >>> >> > http://www.flatmtn.com/computer/Linux-PostgreSQL.html >=20 >>>I think "use declare/fetch" is "FETCH" >> >>I will give it a shot and play around with it - >>thank you for the=20 >>reference!!! >> >>Andrew Ayers >>Phoenix, Arizona >> >> >>> >>>' PG_ODBC_PARAMETER ACCESS_PARAMETER >>>' ********************************************* >>>' READONLY A0 >>>' PROTOCOL A1 >>>' FAKEOIDINDEX A2 'A2 must be 0 >> >>unless A3=3D1 >> >>>' SHOWOIDCOLUMN A3 >>>' ROWVERSIONING A4 >>>' SHOWSYSTEMTABLES A5 >>>' CONNSETTINGS A6 'must be a >> >>value, blank is A6=3D; >> >>>' FETCH A7 'must be a >> >>value, try 100 >> >>>' SOCKET A8 'default 4096 >>>' UNKNOWNSIZES A9 ' range [0-2] >>>' MAXVARCHARSIZE B0 'must be a >> >>value, default 254 >> >>>' MAXLONGVARCHARSIZE B1 >>>' DEBUG B2 >>>' COMMLOG B3 >>>' OPTIMIZER B4 ' note that 1 >> >>=3D _cancel_ generic optimizer... >> >>>' KSQO B5 >>>' USEDECLAREFETCH B6 >>>' TEXTASLONGVARCHAR B7 >>>' UNKNOWNSASLONGVARCHAR B8 >>>' BOOLSASCHAR B9 >>>' INVERSEBOOL? BI '"true is >> >>-1"?, 0=3Dchecked? >> >>>' PARSE C0 >>>' CANCELASFREESTMT C1 >>>' EXTRASYSTABLEPREFIXES C2 'must be a >> >>value, default dd_ -- CONFIDENTIALITY NOTICE -- This message is intended for the sole use of the individual and entity to w= hom it is addressed, and may contain information that is privileged, confid= ential and exempt from disclosure under applicable law. If you are not the = intended addressee, nor authorized to receive for the intended addressee, y= ou are hereby notified that you may not use, copy, disclose or distribute t= o anyone the message or any information contained in the message. If you ha= ve received this message in error, please immediately advise the sender by = reply email, and delete the message. Thank you.