[GRASS-user] Where is non-dbf Information Kept?

   I mis-configured the location of a postgres database. 'db.connect -p'
tells me it's in $GISDATABASE/$LOCATION/$MAPSET/ and it's not; it's in the
postgres data directory in /usr/local/pgsql/data/.

   Where in each location or mapset directory is this information kept? I
want to modify the improper path and cannot find a db.* module to do this.

Rich

I mis-configured the location of a postgres database. ‘db.connect -p’
tells me it’s in $GISDATABASE/$LOCATION/$MAPSET/ and it’s not; it’s in the
postgres data directory in /usr/local/pgsql/data/.

Where in each location or mapset directory is this information kept? I
want to modify the improper path and cannot find a db.* module to do this.

Should be just db.connect driver=pg database=“dbname=…”

···
-- 
Micha Silver
GIS Consultant, Arava Development Co.
[http://www.surfaces.co.il](http://www.surfaces.co.il)

On Fri, 16 Mar 2012, Micha Silver wrote:

Should be just db.connect driver=pg database="dbname=..."

Micha,

   I did re-run db.connect and that fixed the database location error. Is
this information stored in a file we can access?

Toda,

Rich

2012/3/16 Rich Shepard <rshepard@appl-ecosys.com>:

I did re-run db.connect and that fixed the database location error. Is
this information stored in a file we can access?

$GISBASE/$LOCATION_NAME/$MAPSET/VAR

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Fri, 16 Mar 2012, Martin Landa wrote:

$GISBASE/$LOCATION_NAME/$MAPSET/VAR

Martin,

   Thanks!

Rich