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 CAMDMQnDZgA-JerzR=hzemtjAQGLGDJToJoUNnYFKOs5-WAzd6Q@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>)
Responses Re: Fwd: How to run query by command prompt in Postgres  (Julien Rouhaud <rjuju123@gmail.com>)
List pgadmin-support
Dear Team


When I restarted the postgres9.0 service by windows then getting following error message. Plz help me.

Error Message(Error 1053) :  The service did not respond start or control requested  in timely fashion. 

Please suggest me. Thanks in advance. 
Thanks & Regards

Kapil Kr. Khandelwal
M: 09694179109
CodeScape Consultants, Jaipur



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: "Yelai, Ramkumar IN BLR STS"
Date:
Subject: Re: Time series aggregation
Next
From: "Kapil Kr. Khandelwal"
Date:
Subject: Re: Fwd: How to run query by command prompt in Postgres