Date: Mon, 07 Mar 2011 17:42:20 +0100 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: wen heping <wenheping@gmail.com> Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: GRASS: 6.4.0: where is the postgresql (pg) driver? Message-ID: <4D750AEC.1020605@zedat.fu-berlin.de> In-Reply-To: <AANLkTim-1LdRToTFr3A_BsF6deb8zgP2VesptwpSoMGv@mail.gmail.com> References: <4D74F5CD.2050608@zedat.fu-berlin.de> <AANLkTim-1LdRToTFr3A_BsF6deb8zgP2VesptwpSoMGv@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/07/11 16:26, wen heping wrote: > 2011/3/7 O. Hartmann<ohartman@zedat.fu-berlin.de>: >> Hello. >> I desperately try to connect to a PostgreSQL DB server using GRASS (6.4.0 as >> from the recent ports). The documentation of GRASS, even the most recent >> one, reports using the 'driver=pg' option. Having already set up a database >> in PostgreSQL (server 9.0.4), the admin user properly specified is capable >> to connect from console (terminal) or pgadmin3 client. But using GRASS, only >> 'dbf', 'sqlite' and 'ogr' as drivers are offered. I tried to figure out >> whether 'ogr' could cover postgresql connects, but there isn't any >> information about that, not even in GRASS' documentation (I haven't found >> any yet). >> I suspect the 'pg'-driver isn't correctly included in GRASS so I'd like to >> ask someone already has used PostgreSQL as the DB backend for GRASS GIS. > > > It is obviously pg-driver was not correctly included in grass ports, > there is even no PGSQL macro in plist :) > > I shall try to fix it tomorrow. > > > wen > > >> >> Thanks in advance. >> >> Oliver Thank you in advance. Oliver
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D750AEC.1020605>