X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C438B53FEB for ; Fri, 22 Apr 2005 12:01:39 -0300 (ADT) 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 59039-08 for ; Fri, 22 Apr 2005 15:01:37 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 3B8E653DA1 for ; Fri, 22 Apr 2005 12:01:36 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j3MF1W49000810; Fri, 22 Apr 2005 11:01:32 -0400 (EDT) To: pg@fastcrypt.com Cc: Palle Girgensohn , pgsql-jdbc@postgresql.org Subject: Re: BUG? res.next() == false, but psql finds tuples? In-reply-to: <42690728.9040101@fastcrypt.com> References: <42690728.9040101@fastcrypt.com> Comments: In-reply-to Dave Cramer message dated "Fri, 22 Apr 2005 10:16:08 -0400" Date: Fri, 22 Apr 2005 11:01:32 -0400 Message-ID: <809.1114182092@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/140 X-Sequence-Number: 12747 Dave Cramer writes: > Certainly looks like a bug, in the java version mango is not quoted so > pg thinks it is a column. But that's just sloppiness in the java log message. The TCP dump shows clearly that the values are being sent as $n parameters. I'm wondering about misassignment of data types or something. It's not clear though how that would result in no error but zero rows returned. What are the column data types exactly? regards, tom lane