pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: linusliu <linusliu@pchome.com.tw>
Cc: postgresql-list <pgsql-odbc@postgresql.org>
Subject: Re: pgsql 7.4 & odbc 7.3.2 (problem ?)
Date: Mon, 05 Jan 2004 18:28:59 +0900
Message-ID: <3FF92E5B.68AEDBC4@tpf.co.jp> (raw)
References: <20040105032458.ED6D.LINUSLIU@pchome.com.tw>

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.



view thread (2+ messages)

Message-ID: <3FF92E5B.68AEDBC4@tpf.co.jp>
Permalink:  ../3FF92E5B.68AEDBC4@tpf.co.jp/
Also on:    postgresql.org/message-id/3FF92E5B.68AEDBC4@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Inoue@tpf.co.jp, linusliu@pchome.com.tw
  Subject: Re: pgsql 7.4 & odbc 7.3.2 (problem ?)
  In-Reply-To: <3FF92E5B.68AEDBC4@tpf.co.jp>
  References: <20040105032458.ED6D.LINUSLIU@pchome.com.tw> <3FF92E5B.68AEDBC4@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox