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 6D87D9DC807 for ; Fri, 27 Jan 2006 18:33:39 -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 11036-06 for ; Fri, 27 Jan 2006 18:33:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by postgresql.org (Postfix) with ESMTP id E608D9DC9B2 for ; Fri, 27 Jan 2006 18:33:36 -0400 (AST) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-30.mail.demon.net with esmtp (Exim 4.42) id 1F2c9y-000Aoo-1h for pgsql-odbc@postgresql.org; Fri, 27 Jan 2006 22:33:38 +0000 Received: from 84.13.67.135 ([84.13.67.135]) by ratbert.vale-housing.co.uk ([192.168.1.106]) with Microsoft Exchange Server HTTP-DAV ; Fri, 27 Jan 2006 22:33:37 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Fri, 27 Jan 2006 22:34:12 +0000 Subject: Re: faq? From: Dave Page To: Ludek Finstrle , Antoine CC: Message-ID: Thread-Topic: [ODBC] faq? Thread-Index: AcYjjZ9LT/78Y7GJTHKD8rUQMyoH3QABCxQk In-Reply-To: <20060127220341.GA21219@soptik.pzkagis.cz> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.32 required=5 tests=[AWL=0.067, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.32 X-Spam-Level: * X-Archive-Number: 200601/296 X-Sequence-Number: 7111 On 27/1/06 22:03, "Ludek Finstrle" wrote: >> I can't seem to find the faq. I ask this because after having seen our >> postgres/pgsql-odbc project nearly fail (the boss even suggested we convert >> to access!!!) because I failed to realise that for big tables not using the >> option "Use Declare/Fetch" meant pgsql-odbc would bring our server and >> network to a standstill. That should certainly be in the FAQ! > > I agree with you. But we don't have even enough time for development. > Could you maintain the documentation? Or is here someone who could > maintain the documentation? > There is config.html in CVS (I hope Dave put it into releases too) > so you could study from it. The FAQ is included in the documentation that ships in the source tarball and the Windows Installer packages. It can also be found in CVS at: http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/docs/faq.html? rev=1.3&content-type=text/x-cvsweb-markup As for adding the question above to it, it's not really a candidate for inclusion as its not a frequently asked question. As Luf points out though, it is already documented in config.html which is also included with the source and Windows distributions. >> inserts the way we do (ie, not via execute, but by opening a table and then >> doing AddNew) it might be something to look at... anyway, the boss told us > > Hey, does I miss something? There is no support for updateable cursors > in 08.01 psqlodbc driver. And it is marked as experimental feature in > 07.03 version. You don't need updateable cursors or declare/fetch to use AddNew in ADO/VB6. When you create your recordset, restrict it to relevant records only by using SQL. Avoid creating recordsets straight from tables - that is very much an Access'ism, which whilst it might work well there with a single user, or small multi-user database, it definitely does not work well with much bigger data sets on large client/server databases. If all you are doing is adding new records, then you might even be able to add a 'WHERE 1=2' clause to your query to create an empty recordset of the right structure which you can then fill up to your hearts content. Regards, Dave.