[GRASSLIST:396] PGSQL problem in Fedor-3 Linux

Hi,
While connecting a table created in Postgresql to a vector map in GRASS the errors are :

  1. Can not connect to Postgres: FATAL: Database "$computer/geodata/geodata/pg/ does not exist
  2. can not open databse " " by driver ‘pg’
  3. The table does not exist in databse < $computer/geodata/geodata/pg/

While creating table in v.digit after setting pg as driver

  1. can not open databse $GISDBASE/$LOCATION_NAME/$MAPSET/pg by driver
    pgDBMI-postgres driver

This is already noted in a GRASS mirror webpage at Bangalore, India
http://wgbis.ces.iisc.ernet.in/grass/welcome.html, and in the attachment.

NOTE: There is a driver shipped from PostgreSQL distribution called libpsqlodbc.so (rather than libodbcpsql.so coming with unixodbc). It seems that postgresql-odbc package is not working and only usr/lib/libodbcpsql.so from unixODBC is working properly. (See psqlODBC home page: http://odbc.postgresql.org/psqlodbc.php?DocID=faq-general)

Ravi Kumar


New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.

(attachments)

Thank You.4774DEFANGED-htm (14.6 KB)