what is the simplest way to get GRASS connected to a PostgreSQL
database?&nbsp; 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?&nbsp;
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 &quot;host&nbsp; all&nbsp; all&nbsp; <a href="http://192.168.0.0/16">192.168.0.0/16</a>&nbsp; trust&quot;<br>
<br>
my connection attempt via GRASS is: v.db.connect -o map=sites driver=pg database=&quot;host=localhost,dbname=sites&quot; 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>