X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 5A83BD1D2A6 for ; Sun, 4 Jan 2004 19:50:28 +0000 (GMT) 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 16649-08 for ; Sun, 4 Jan 2004 15:49:39 -0400 (AST) Received: from msx.pchome.com.tw (msx.pchome.com.tw [211.20.188.141]) by svr1.postgresql.org (Postfix) with ESMTP id 3B950D1D579 for ; Sun, 4 Jan 2004 15:40:49 -0400 (AST) Received: from [127.0.0.1] (unknown [211.75.143.247]) by msx.pchome.com.tw (Tomail v3 Lilith) with ESMTP id 5679F65E824 for ; Mon, 5 Jan 2004 03:40:48 +0800 (CST) Date: Mon, 05 Jan 2004 03:40:46 +0800 From: linusliu To: postgresql-list Subject: pgsql 7.4 & odbc 7.3.2 (problem ?) Message-Id: <20040105032458.ED6D.LINUSLIU@pchome.com.tw> MIME-Version: 1.0 X-Priority: 1 X-MSMail-Priority: High Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.05.10 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=2.6 tagged_above=0.0 required=5.0 tests=BAYES_30, MISSING_MIMEOLE, MISSING_OUTLOOK_NAME, RCVD_IN_NJABL, SIGNATURE_LONG_SPARSE, X_MSMAIL_PRIORITY_HIGH, X_NJABL_OPEN_PROXY, X_PRIORITY_HIGH X-Spam-Level: ** X-Archive-Number: 200401/5 X-Sequence-Number: 3634 Hi, everybody : I am a windows application developer in Taiwan. I am testing the new version of pgsql : 7.4. ( current use : the version 7.2.4) I have found a problem on psqlodbc_xxx.log. The case is : I connect to two database on different PC. One is version 7.2.4 and the other is version 7.4. The data on both machine is the same. I want to send a SQL command via ODBC (7.3.2) : "select * from systemfile where 1=2" for three times. Result in log : <1>. verion 7.2.4 : (correct) conn=18691864, query='SELECT "waid", "custname", "superpass", "opendate", "worker", "isrev", "pnos", "pnol", "evaluate", "edate", "listdate", "sizes", "sizel", "colors", "colorl", "pr_top", "pr_left", "ispreview", "stockpid", "isrevpid", "pidpatten", "pidpattern", "listtype", "version", "safestock", "pnopattern", "type1" FROM "systemfile" WHERE (1) = (2)' [ fetched 0 rows ] conn=18691864, query='SELECT "waid", "custname", "superpass", "opendate", "worker", "isrev", "pnos", "pnol", "evaluate", "edate", "listdate", "sizes", "sizel", "colors", "colorl", "pr_top", "pr_left", "ispreview", "stockpid", "isrevpid", "pidpatten", "pidpattern", "listtype", "version", "safestock", "pnopattern", "type1" FROM "systemfile" WHERE (1) = (2)' [ fetched 0 rows ] conn=18691864, query='SELECT "waid", "custname", "superpass", "opendate", "worker", "isrev", "pnos", "pnol", "evaluate", "edate", "listdate", "sizes", "sizel", "colors", "colorl", "pr_top", "pr_left", "ispreview", "stockpid", "isrevpid", "pidpatten", "pidpattern", "listtype", "version", "safestock", "pnopattern", "type1" FROM "systemfile" WHERE (1) = (2)' [ fetched 0 rows ] conn=18691864, PGAPI_Disconnect <2>. version 7.4 : (first time is wrong) conn=18691864, query='SELECT * FROM "systemfile"' <== WRONG, it would get all data to my client machine, this made me waiting for a long time and almost made me cry. >< ....... [ fetched 2 rows ] conn=18691864, query='SELECT "waid", "custname", "superpass", "opendate", "worker", "isrev", "pnos", "pnol", "evaluate", "edate", "listdate", "sizes", "sizel", "colors", "colorl", "pr_top", "pr_left", "ispreview", "stockpid", "isrevpid", "pidpatten", "pidpattern", "listtype", "version", "safestock", "pnopattern", "type1" FROM "systemfile" WHERE (1) = (2)' [ fetched 0 rows ] conn=18691864, query='SELECT "waid", "custname", "superpass", "opendate", "worker", "isrev", "pnos", "pnol", "evaluate", "edate", "listdate", "sizes", "sizel", "colors", "colorl", "pr_top", "pr_left", "ispreview", "stockpid", "isrevpid", "pidpatten", "pidpattern", "listtype", "version", "safestock", "pnopattern", "type1" FROM "systemfile" WHERE (1) = (2)' [ fetched 0 rows ] conn=18691864, PGAPI_Disconnect Do I need to do something to avoid this error on version 7.2.4. ? Please help me with this. Or, I need to wait for new version of ODBC ? Note : I had tested all the setting on ODBC options. Linus.Liu. -- linusliu ========================================================== 圍爐專用黑晶爐 http://edm-prg.epaper.com.tw/click.php?ad_code=50728 ========================================================== PChome交友~~幸福天天有 \*^o^*// http://love.pchome.com.tw/ ==========================================================