X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F2AD0D9435 for ; Thu, 3 Nov 2005 14:12:02 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14825-09 for ; Thu, 3 Nov 2005 18:11:53 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2062DDB926 for ; Thu, 3 Nov 2005 14:08:03 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 2B47831058; Thu, 3 Nov 2005 19:08:02 +0100 (MET) From: Rainer Bauer X-Newsgroups: pgsql.interfaces.odbc Subject: Re: Snapshot 08.01.0006 available for testing Date: Thu, 03 Nov 2005 19:01:54 +0100 Message-ID: References: X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 70 Organization: Arcor X-Complaints-To: usenet-abuse@arcor.de To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/31 X-Sequence-Number: 6268 "Dave Page" wrote: >> >> SQL command: "SELECT col1 FROM table WHERE col2=?" >> >> (Note: col1 is a SERIAL, col2 a VARCHAR). >> >> >> >> Bind the input [SQLBindParameter] and output [SQLBindCol] >> >> parameter before >> >> calling SQLPrepare(). >> >> >> >> The following call to SQLExecute() returns SQL_SUCCESS. But >> >> the first call to >> >> SQLFetch() produces this error message: >> >> <1> {HY010}(3) Null statement result in PGAPI_ExtendedFetch. (...) >Sorry - when I first read both messages I somehow managed to parse >ServerSidePrepare as UsedeclareFetch :-( > >Yes, it does seem to be broken - the earlier fixes were for Use >Declare/Fetch, so I'm not overly surprised it remains broken. > >I'll look into it, however given that it's not a widely used option (and >isn't documented either), I'm still inclined to release 08.01.whatever >even if we can't figure out the correct fix in time. It's definitely a >less broken driver than the current stable release. That's no problem. The 08.01.006 driver is working without "ServerSidePrepare"; it's just a performance issue. However, I just turned on "UsedeclareFetch" to see if it works. There are _lots_ of memory leakages (in repeating patterns) when my program exits (see below). They all vanish if "UsedeclareFetch" is disabled. Seems like this is related to memory not freed in class QResultClass. Apart from that it seems to work, although I haven't done any stress tests. But I might find some time tomorrow to check it more thoroughly. Rainer Data: <ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ> FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Data: < > 00 00 00 00 00 00 00 00 Data: <@ @ ÿ > 40 00 40 00 01 00 FF 0F Data: < > 13 00 00 00 13 00 00 00 12 00 00 00 19 00 00 00 Data: <@vC vC ÀuC €uC > 40 76 43 01 00 76 43 01 C0 75 43 01 80 75 43 01 Data: < ÍÍ0xC ðwC wC > 04 00 CD CD 30 78 43 01 F0 77 43 01 00 77 43 01 Data: 70 78 43 01 30 75 43 01 78 DC 39 01 00 00 00 00 Data: <ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ> CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD Data: 53 51 4C 5F 43 55 52 30 31 34 33 30 30 37 30 00 Data: 66 65 74 63 68 20 31 30 30 20 69 6E 20 53 51 4C Data: 63 6F 61 6C 65 73 63 65 00 Data: 72 65 6C 6B 69 6E 64 00 Data: 6E 73 70 6E 61 6D 65 00 Data: 72 65 6C 6E 61 6D 65 00 Data: <ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ> FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Data: < > 00 00 00 00 00 00 00 00 Data: <@ @ ÿ > 40 00 40 00 01 00 FF 0F Data: < > 13 00 00 00 13 00 00 00 12 00 00 00 19 00 00 00 Data: < zC àyC  yC `yC > 20 7A 43 01 E0 79 43 01 A0 79 43 01 60 79 43 01 Data: < ÍÍ€ C À{C €{C > 04 00 CD CD 80 0B 43 01 C0 7B 43 01 80 7B 43 01 Data: <€ C yC xÜ9 > 80 7F 43 01 10 79 43 01 78 DC 39 01 00 00 00 00 Data: <ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ> CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD Data: 53 51 4C 5F 43 55 52 30 31 34 33 30 44 43 30 00 Data: 66 65 74 63 68 20 31 30 30 20 69 6E 20 53 51 4C Data: 63 6F 61 6C 65 73 63 65 00 Data: 72 65 6C 6B 69 6E 64 00 Data: 6E 73 70 6E 61 6D 65 00 Data: 72 65 6C 6E 61 6D 65 00