what is the simplest way to get GRASS connected to a PostgreSQL
database? I have built a postgres database and created a table.<br>
<br>
I suspect that i have two problems:<br>
1) my pg_hba.conf file (or not starting postmaster with -i flag?
it is currently started from an init.d script, but i thought i located
where in that startup script file postmaster is fired up and have tried
-i) <br>
2) my command line connection may be faulty.<br>
<br>
my pg_hba.conf file for host has "host all all <a href="http://192.168.0.0/16">192.168.0.0/16</a> trust"<br>
<br>
my connection attempt via GRASS is: v.db.connect -o map=sites driver=pg database="host=localhost,dbname=sites" table=distances<br>
<br>
which yeilds the following error:<br>
DBMI-Postgres driver error:<br>
Cannot connect to Postgres: FATAL: missing or erroneous pg_hba.conf file.<br>
<br>
i have also tried using the db.login command too.<br>