Re: loading a psql input file on win xp - Mailing list pgsql-general

From Reid Thompson
Subject Re: loading a psql input file on win xp
Date
Msg-id 47D4037D.3020804@ateb.com
Whole thread Raw
In response to loading a psql input file on win xp  ("akshay bhat" <akshayubhat@gmail.com>)
Responses Re: loading a psql input file on win xp  (Raymond O'Donnell <rod@iol.ie>)
List pgsql-general
akshay bhat wrote:
> HELLO
> i have psql file which is to be used for loading a database
>
> it was downloaded from this link http://conceptnet.media.mit.edu/
> the description says
> The ConceptNet 3 database, as a PostgreSQL input file. You will need to
> be running a PostgreSQL server to install ConceptNet 3.
> i was earlier
> suggested to use following command
> to add it to database
>
> psql -d <your_database_name> -f conceptnet-2007-09-25.psql
>
> however i do not know where to execute this command
> i am using a windows xp with with postgresql installed in
>
> D:\Program Files\PostgreSQL\8.3\
>
>
> the file is located in folder
>
> D:\conc\
>
> now can someone please tell me where to execute above command
> should i use dos (i mean command prompt )
>
> please help sorry for my foolish question
>
> --
> akshay uday bhat.
> t.y.c.e.
> department of chemical engineering
> university institute of chemical technology
> mumbai India
>
> On action alone be thy interest,
> Never on its fruits.
> Let not the fruits of action be thy motive,
> Nor be thy attachment to inaction.
>
> Ask and it shall be given to you; seek and you shall find; knock and it
> shall be opened to you

you'll also probably have to add the parameter -h 127.0.0.1

pgsql-general by date:

Previous
From: David Fetter
Date:
Subject: Re: ER Diagram design tools (Linux)
Next
From: Justin
Date:
Subject: Re: how do you write aggregate function