Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 4F56B126090C for ; Wed, 27 Jun 2012 08:17:32 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SjqFW-0003D7-82 for pgsql-bugs@postgresql.org; Wed, 27 Jun 2012 11:17:31 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SjqFI-0002mg-Tl for pgsql-bugs@postgresql.org; Wed, 27 Jun 2012 11:17:17 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1SjqFI-0000OQ-KS for pgsql-bugs@postgresql.org; Wed, 27 Jun 2012 11:17:16 +0000 Date: Wed, 27 Jun 2012 11:17:16 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6711: how to run sql query by command prompt in postgres sql To: pgsql-bugs@postgresql.org From: kapilkumar04@gmail.com X-Pg-Spam-Score: -1.0 (-) X-Archive-Number: 201206/232 X-Sequence-Number: 33459 The following bug has been logged on the website: Bug reference: 6711 Logged by: Kapil Kumar Khandelwal Email address: kapilkumar04@gmail.com PostgreSQL version: 9.0.0 Operating system: Windows 7 Description: = I want to run query in postgres sql by command prompt. I have success fully connect to db, but not success in fetch the data by query, Please tell me procedure of this. =