[GRASSLIST:687] Re: Postgresql

Thomas Hoffmann hoffmann at giub.uni-bonn.de
Thu Jul 10 09:34:13 EDT 2003


Try the command

g.select.pg localhost database=databasename

(insteed of localhost use the host name of the database-server on which 
Postgresql is installed)

Good look
Thomas

Uttam Kumar schrieb:

> Hi,
>    I am using GRASS5.0.0 on Linux.When I select a database through the 
> command g.select.pg, it gives a message "select Postgres:unknown host 
> name: host". I think I have changed the host name in this command 
> while using it before by mistake.I have heard that once the host name 
> is changed then there is only one way to configure the host name back 
> to it for the further working of Postgresql.This is done through some 
> configuration in some Postgresql file.
>
> Can anybody guide me what is the name of the "file" where the 
> postgresql host name can be changed and How ?
>
> Thanks.
>
> uttam.
>
> _________________________________________________________________
> HCL Beanstalk PCs. You could win one. 
> http://server1.msn.co.in/sp03/hclbeanstalktour/index.asp Interested?
>




More information about the grass-user mailing list