Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id A2531126090C; Wed, 27 Jun 2012 12:02:38 -0300 (ADT) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SjtlN-0002A4-KZ; Wed, 27 Jun 2012 15:02:38 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Wed, 27 Jun 2012 10:02:24 -0500 Message-Id: <4FEADA280200002500048B8F@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Wed, 27 Jun 2012 10:02:16 -0500 From: "Kevin Grittner" To: Cc: Subject: Re: BUG #6711: how to run sql query by command prompt in postgres sql References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201206/234 X-Sequence-Number: 33461 [moving to pgsql-novice] wrote: This doesn't look like a bug report. When you follow up, please start a new thread on pgsql-general or pgsql-novice. > PostgreSQL version: 9.0.0 Please update that to 9.0.8 or 9.1.4. http://www.postgresql.org/support/versioning/ > I want to run query in postgres sql by command prompt. That's what the psql client program is for. > I have success fully connect to db, Meaning what, exactly? Are you running psql, your own application, or what? If you are using a command prompt, copy and paste characters into your email to show us what you're doing. > but not success in fetch the data by query, What did you try? What did you expect to happen? What did happen? > Please tell me procedure of this. http://wiki.postgresql.org/wiki/Guide_to_reporting_problems -Kevin