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 2D4E6D1C933 for ; Mon, 17 May 2004 19:22:23 -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 12031-10 for ; Mon, 17 May 2004 19:22:05 -0300 (ADT) Received: from web20807.mail.yahoo.com (web20807.mail.yahoo.com [216.136.226.196]) by svr1.postgresql.org (Postfix) with SMTP id 164FED1B170 for ; Mon, 17 May 2004 19:22:02 -0300 (ADT) Message-ID: <20040517222201.36242.qmail@web20807.mail.yahoo.com> Received: from [24.248.12.72] by web20807.mail.yahoo.com via HTTP; Mon, 17 May 2004 15:22:01 PDT Date: Mon, 17 May 2004 15:22:01 -0700 (PDT) From: Jeff Eckermann Subject: Re: ODBC Driver Options To: Andrew Ayers , Nicola Tiling Cc: "pgsql-odbc@postgresql.org" In-Reply-To: <40A938EC.9070007@eldocomp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.4 tagged_above=0.0 required=5.0 tests=EXCUSE_16, UPPERCASE_25_50 X-Spam-Level: X-Archive-Number: 200405/35 X-Sequence-Number: 4059 A neat little trick that will work with any ODBC driver: 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. Thanks to the poster, whose name I cannot recall, who suggested this. --- Andrew Ayers wrote: > Nicola Tiling wrote: > > Have a look here > > > > > http://www.flatmtn.com/computer/Linux-PostgreSQL.html > > > > I think "use declare/fetch" is "FETCH" > > I will give it a shot and play around with it - > thank you for the > reference!!! > > Andrew Ayers > Phoenix, Arizona > > > > > > > ' 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 'must be a > value, blank is A6=; > > ' 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 > = _cancel_ generic optimizer... > > ' KSQO B5 > > ' USEDECLAREFETCH B6 > > ' TEXTASLONGVARCHAR B7 > > ' UNKNOWNSASLONGVARCHAR B8 > > ' BOOLSASCHAR B9 > > ' INVERSEBOOL? BI '"true is > -1"?, 0=checked? > > ' 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 whom it is addressed, and > may contain information that is privileged, > confidential and exempt from disclosure under > applicable law. If you are not the intended > addressee, nor authorized to receive for the > intended addressee, you are hereby notified that you > may not use, copy, disclose or distribute to anyone > the message or any information contained in the > message. If you have received this message in error, > please immediately advise the sender by reply email, > and delete the message. Thank you. __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/