From owner-freebsd-ports@FreeBSD.ORG Mon Mar 7 16:42:21 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3C461065670; Mon, 7 Mar 2011 16:42:21 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 9D60A8FC0C; Mon, 7 Mar 2011 16:42:21 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1PwdVk-0003rT-N2>; Mon, 07 Mar 2011 17:42:20 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1PwdVk-0004zQ-Ki>; Mon, 07 Mar 2011 17:42:20 +0100 Message-ID: <4D750AEC.1020605@zedat.fu-berlin.de> Date: Mon, 07 Mar 2011 17:42:20 +0100 From: "O. Hartmann" Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110307 Thunderbird/3.1.9 MIME-Version: 1.0 To: wen heping References: <4D74F5CD.2050608@zedat.fu-berlin.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: GRASS: 6.4.0: where is the postgresql (pg) driver? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2011 16:42:22 -0000 On 03/07/11 16:26, wen heping wrote: > 2011/3/7 O. Hartmann: >> 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