X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B2A149DC843 for ; Mon, 27 Feb 2006 02:03:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54265-01 for ; Mon, 27 Feb 2006 02:03:48 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 46ED79DC85A for ; Mon, 27 Feb 2006 02:03:47 -0400 (AST) 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 k1R63YSc074429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 26 Feb 2006 23:03:37 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k1R63Ys4039922; Sun, 26 Feb 2006 23:03:34 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k1R63YG5039921; Sun, 26 Feb 2006 23:03:34 -0700 (MST) (envelope-from mfuhr) Date: Sun, 26 Feb 2006 23:03:34 -0700 From: Michael Fuhr To: sandhya Cc: Postgres Subject: Re: Reg: Multiplequeries pls help me Message-ID: <20060227060334.GA39824@winnie.fuhr.org> References: <015601c63b60$d3155e50$cd00000a@sandhyar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <015601c63b60$d3155e50$cd00000a@sandhyar> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.122 required=5 tests=[AWL=0.122] X-Spam-Score: 0.122 X-Spam-Level: X-Archive-Number: 200602/314 X-Sequence-Number: 20735 On Mon, Feb 27, 2006 at 11:14:06AM +0530, sandhya wrote: > I am using multiple queries inorder to get object id from the DB. > When i am executing the same query from the DB side it is working fine. > If i am using the same in my application(VC 7) it is showing"PGRES_FATAL_ERROR" > The same query i copied and pasted on server side it is executing fine..... What's the complete error message? What do you mean by "multiple queries"? Several queries executed sequentially via separate function calls? Several queries separated by semicolons executed via the same function call? A single query with subqueries? Could you post the query or queries and explain how you're executing them? If you're writing code then please post the code that executes the queries. This seems off-topic for pgsql-admin; it would probably be more appropriate in pgsql-general, pgsql-interfaces, or pgsql-novice. -- Michael Fuhr