pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: Philippe Salama <karebacnyc@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How to get to command line prompt
Date: Fri, 8 Dec 2006 23:44:54 +0530
Message-ID: <a97c77030612081014t4c5ef126gd28796afc4165f87@mail.gmail.com> (raw)
In-Reply-To: <205044.79177.qm@web90505.mail.mud.yahoo.com>
References: <205044.79177.qm@web90505.mail.mud.yahoo.com>

Hi,

Go to Start->run ->  type cmd  <press enter>

say you get the c: prompt then type

C:\blah\blah> psql -U postgres template1

above assumes psql is in PATH. if it succeeds
you shall get a psql prompt.

once you get the prompt , follow the instructions in text book
to create new database , users etc.


regds
mallah.

On 12/8/06, Philippe Salama <karebacnyc@yahoo.com> wrote:
> I just installed Postgresql for windows.
>
> There is an elephant headed icon, which seems to be the way to get to the
> command line prompt. I have a textbook which assumes that you can
> communicate with postgres through command line, and run scripts.
>
> When I click the icon, it asks for password, and then does nothing but
> disappear.
>
> IF there is no command line available with the windows install, then, is
> there a 3rd party product?
>
> Thanks
>
>
>  ________________________________
> Have a burning question? Go to Yahoo! Answers and get answers from real
> people who know.
>
>



view thread (2+ messages)

Message-ID: <a97c77030612081014t4c5ef126gd28796afc4165f87@mail.gmail.com>
Permalink:  ../a97c77030612081014t4c5ef126gd28796afc4165f87@mail.gmail.com/
Also on:    postgresql.org/message-id/a97c77030612081014t4c5ef126gd28796afc4165f87@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah.rajesh@gmail.com, karebacnyc@yahoo.com
  Subject: Re: How to get to command line prompt
  In-Reply-To: <a97c77030612081014t4c5ef126gd28796afc4165f87@mail.gmail.com>
  References: <205044.79177.qm@web90505.mail.mud.yahoo.com> <a97c77030612081014t4c5ef126gd28796afc4165f87@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox