X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D403052A00 for ; Tue, 9 Aug 2005 15:35:04 -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 44926-09 for ; Tue, 9 Aug 2005 18:34:51 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 65222529F6 for ; Tue, 9 Aug 2005 15:34:50 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j79IYilh045360 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 9 Aug 2005 12:34:48 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.3/8.13.3) with ESMTP id j79IYhhB025307; Tue, 9 Aug 2005 12:34:43 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.3/8.13.3/Submit) id j79IYhD8025305; Tue, 9 Aug 2005 12:34:43 -0600 (MDT) (envelope-from mfuhr) Date: Tue, 9 Aug 2005 12:34:43 -0600 From: Michael Fuhr To: Chris Hoover Cc: pgsql-admin@postgresql.org Subject: Re: PG 7.3.4 VS PG 8.0.3 Problem Message-ID: <20050809183443.GA25232@winnie.fuhr.org> References: <1d219a6f05080910277cbf10b2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1d219a6f05080910277cbf10b2@mail.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200508/115 X-Sequence-Number: 18434 On Tue, Aug 09, 2005 at 01:27:55PM -0400, Chris Hoover wrote: > When I connect to a 7.3.4 database, the query returns 0 rows and a > sqlca.sqlcode of 0 > > However, when I connect to an 8.0.3 database, the query returns 0 rows > and a sqlca.sqlcode of 100. You don't mention it but it sounds like you're using ECPG. Can you post a simple but complete example that works differently in 7.3.4 and 8.0.3? I just did some tests with 7.3.10 and 8.0.3 and both returned a sqlca.sqlcode of 100 for a query that returned no rows. Either something changed between 7.3.4 and 7.3.10 or my test didn't duplicate what you're doing. -- Michael Fuhr