Re: Fwd: How to run query by command prompt in Postgres

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: "Kapil Kr(dot) Khandelwal" <kapilk(at)cscape(dot)in>
Cc: rod(at)iol(dot)ie, pgadmin-support(at)postgresql(dot)org
Subject: Re: Fwd: How to run query by command prompt in Postgres
Date: 2012-06-28 14:57:57
Message-ID: CAOBaU_ahrpr4UvwAYP6Nc_uaHJ68YhKuj6Z2UqbgF-ukNdY1AQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-bugs

On Thu, Jun 28, 2012 at 8:56 AM, Kapil Kr. Khandelwal <kapilk(at)cscape(dot)in>wrote:

> 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. *
> *
> *
>
You should have in "event viewer" -> "application" logs about your service
error. Please post event related to you postgresql service so we can help
you.

**
> 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(at)iol(dot)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(at)iol(dot)ie
>>
>>
>>
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Daniel Farina 2012-06-28 18:57:23 Re: How to run query by command prompt in Postgres
Previous Message Magnus Hagander 2012-06-28 10:50:45 Re: Compile Source Code

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Farina 2012-06-28 18:57:23 Re: How to run query by command prompt in Postgres
Previous Message Kapil Kr. Khandelwal 2012-06-28 06:56:51 Re: Fwd: How to run query by command prompt in Postgres