Re: Fwd: How to run query by command prompt in Postgres - Mailing list pgadmin-support

From Kapil Kr. Khandelwal
Subject Re: Fwd: How to run query by command prompt in Postgres
Date
Msg-id CAMDMQnDSuJ6vfKEPts1h6f_agvXVt007wFJ4cp9u8L4+vQowug@mail.gmail.com
Whole thread Raw
In response to Re: Fwd: How to run query by command prompt in Postgres  (Raymond O'Donnell <rod@iol.ie>)
List pgadmin-support
Dear Team

I want to a favor from your side. I want to implement clustering in postgressql 8.x on Windows OS. I have completed till archive command. I am getting archive files. After that, I am facing issues. Kindly explain more steps.  

Thanks in Advance. Looking forward to hearing from you. 


Regards
Kapil Kr. Khandelwal
CodeScape Consultant Pvt Ltd
+91 969 417 9109
+91 141 400 2993
www.codescape.in



On Wed, Jun 27, 2012 at 5:21 PM, Raymond O'Donnell <rod@iol.ie> wrote:
On 27/06/2012 12:18, Kapil Kr. Khandelwal wrote:
>
>
> Dear Team
>
> I want to a favour from your side. I want to know, how to run sql query
> by command prompt in postgres sql.

psql -f file-with-query.sql your-database


http://www.postgresql.org/docs/9.1/static/app-psql.html


Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie



pgadmin-support by date:

Previous
From: Adrian Heath
Date:
Subject: Cannot close "error has occurred" dialog box
Next
From: "Kapil Kr. Khandelwal"
Date:
Subject: Re: Fwd: How to run query by command prompt in Postgres