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 57877D1B19C for ; Mon, 17 May 2004 16:27:13 -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 45596-02 for ; Mon, 17 May 2004 16:26:54 -0300 (ADT) Received: from ecintweb.eldocomp.com (ecintweb.eldocomp.com [205.159.99.8]) by svr1.postgresql.org (Postfix) with ESMTP id C5CA1D1C9C0 for ; Mon, 17 May 2004 16:26:51 -0300 (ADT) Received: by ecintweb.eldocomp.com with XWall v3.29f ; Mon, 17 May 2004 12:26:51 -0700 From: Andrew Ayers To: Jeff Eckermann Cc: Nicola Tiling , "pgsql-odbc@postgresql.org" Subject: Re: ODBC Driver Options Date: Mon, 17 May 2004 12:26:51 -0700 X-Assembled-By: XWall v3.29f Message-ID: <40A911FB.6080505@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/31 X-Sequence-Number: 4055 Jeff Eckermann wrote: > --- Dave Page wrote: >=20 >>Hi, >> >>It's not as up to date as it should be, but most >>options are documented >>at >> >=20 > http://gborg.postgresql.org/project/psqlodbc/genpage.php?doc-config >=20 >>Regards, Dave.=20 >> >> >>>-----Original Message----- >>>From: Nicola Tiling [mailto:nti@w4w.net]=20 >>>Sent: 17 May 2004 11:12 >>>To: pgsql-odbc@postgresql.org >>>Subject: [ODBC] ODBC Driver Options >>> >>>Hi >>> >>>I have installed psqlodbc-07_03_0200 for Windows >> >>(under XP).=20 >> >>>I use it for M$ Access as a frontend of a pg >> >>database on a=20 >> >>>FreeBSD Server. >>> >>>Can anyone tell me where I can find any documents >> >>about the=20 >> >>>options of the driver? I have searched under=20 >>> >> > http://gborg.postgresql.org/project/psqlodbc/projdisplay.php >=20 >>>and http://techdocs.postgresql.org. The document=20 >>> >> > "ftp://ftp.postgresql.org/pub/odbc/psqlodbc_confighelp.html" >=20 >>>doesn't exist anymore. >>> >>>I would be lucky to know what >>> >>>- Use Declare/Fetch >>>- Parse Statements >>>- Cancel as FreeStmt(Exp) >>>- Row Versioning >>>- Disallow Premature >>>- Server side prepare >>> >>>mean and what are the effects of them? >=20 >=20 > Since you are using MS Access, you will probably avoid > some problems by setting "row versioning" to true.=20 > Also, some people have reported big performance gains > from setting "use declare/fetch" to true, so you may > want to test that. I am not aware that any of those > other options will give you any benefit with other > than default values. A related question would be what the "name" of these variables are if=20 you are passing them in a DSN-less connection. For example, I was having=20 problems in my VB6 application where if I didn't turn off Keyset Query=20 Optimization I would get errors. This is easy to do in the ODBC setup,=20 but in order to do it via a DSN-less connection, you have to pass=20 "ksqo=3D;" in the connection string. In this case, it is fairly easy to guess - but what about others, like=20 "use declare/fetch"? I would love to try this out in my application, but=20 without knowing what variable to pass - it would take a little to track=20 down (likely a before/after snapshot of a log, while using a DSN=20 connection and turning off/on the flag to see what changes in the log=20 entries). A list of these variables and what their settings can be would be doubly=20 helpful... Andrew Ayers Phoenix, Arizona >>>Excuse my bad english >>>Regards >>>Nicola >>> >>> >>> >>>---------------------------(end of=20 >>>broadcast)--------------------------- >>>TIP 9: the planner will ignore your desire to >> >>choose an index=20 >> >>>scan if your >>> joining column's datatypes do not match >>> >> >>---------------------------(end of >>broadcast)--------------------------- >>TIP 9: the planner will ignore your desire to choose >>an index scan if your >> joining column's datatypes do not match >=20 >=20 >=20 >=20 >=20=09 >=20=09=09 > __________________________________ > Do you Yahoo!? > SBC Yahoo! - Internet access at a great low price. > http://promo.yahoo.com/sbc/ >=20 > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >=20 -- 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.