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

From: "Kapil Kr(dot) Khandelwal" <kapilk(at)cscape(dot)in>
To: "rod(at)iol(dot)ie" <rod(at)iol(dot)ie>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Fwd: How to run query by command prompt in Postgres
Date: 2013-03-20 12:21:56
Message-ID: CAMDMQnBfyhzvua-j=FeKJvh7jpOBf2w+Quwo=CU5746tPs5HXA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-bugs

Dear Team

I want to a favour from your side. I want to implement clustering in
postgres on windows server. Please provide the list of steps. I want the
answers of followings doubts.

1. How to write archive command
2. How to log shipping from primary to stand by server
3. how to restore database at stand by server from archived files

I am waiting for your positive response. Thanks in advance.

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

*Think before printing. Turn off Systems before leaving. Conserve Energy,
Save our Environment.*

On Wed, Jun 27, 2012 at 5:29 PM, Kapil Kr. Khandelwal <kapilk(at)cscape(dot)in>wrote:

> Dear Sir
>
> I want to run sql query, without any file. I have connected the db, but
> not getting success run sql query.
>
>
> I can run by file, if you can provide me steps of this.
>
> Looking forward to positive response from your side. 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 Kapil Kr. Khandelwal 2013-03-20 12:22:33 Re: How to run query by command prompt in Postgres
Previous Message Kapil Kr. Khandelwal 2013-03-20 12:21:42 Re: How to run query by command prompt in Postgres

Browse pgsql-bugs by date

  From Date Subject
Next Message Kapil Kr. Khandelwal 2013-03-20 12:22:33 Re: How to run query by command prompt in Postgres
Previous Message Kapil Kr. Khandelwal 2013-03-20 12:21:42 Re: How to run query by command prompt in Postgres