Skip to content
Back to formatted view

Raw Message

Message-ID: <6r66xr7t6t.fsf@franz.stat.wisc.edu>
Date: 1999-12-21T23:47:06Z
From: Douglas Bates
Subject: PostgreSQL package
In-Reply-To: "Timothy H. Keitt"'s message of "Sat, 04 Dec 1999 19:28:11 -0800"

"Timothy H. Keitt" <keitt at nceas.ucsb.edu> writes:

> Version 0.2 is now available at
> 
>     http://www.nceas.ucsb.edu/~keitt/R/
> 
> This version includes a user extensible type conversion system.  By
> defining three functions, you can now store and retrieve arbitrary data
> types in PostgreSQL tables.  Enjoy.

Thanks for making that available, Timothy.

I found when I installed it that I had to change the Makefile in the
src directory.  On my system (Debian GNU/Linux 2.1) the include files
from the postgresql-dev package are installed in
/usr/include/postgresql.  I needed to add
		      -I/usr/include/postgresql
to the compiler command in src/Makefile and change the include
statement in src/rpgsql.c to

#include "libpq-fe.h"

I'll check with Kurt Hornik, our autoconf/Makefile guru, to see if
there is a clean way of specifying the Makefile.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._