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 9E955D1B456 for ; Mon, 5 Jan 2004 09:26:52 +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 35147-07 for ; Mon, 5 Jan 2004 05:26:05 -0400 (AST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by svr1.postgresql.org (Postfix) with SMTP id 3C5B4D1B43A for ; Mon, 5 Jan 2004 05:26:01 -0400 (AST) Received: (qmail 10334 invoked from network); 5 Jan 2004 18:26:02 +0900 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 5 Jan 2004 18:26:02 +0900 Received: from tpf.co.jp ([126.0.1.67]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id SAA05341; Mon, 5 Jan 2004 18:26:01 +0900 (JST) Message-ID: <3FF92E5B.68AEDBC4@tpf.co.jp> Date: Mon, 05 Jan 2004 18:28:59 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: linusliu Cc: postgresql-list Subject: Re: pgsql 7.4 & odbc 7.3.2 (problem ?) References: <20040105032458.ED6D.LINUSLIU@pchome.com.tw> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/6 X-Sequence-Number: 3635 linusliu wrote: > > 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. Could you send me the Mylog debug output especially for the 7.4 server ? regards, Hiroshi Inoue > 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.