Re: [HACKERS] DBD::PgSPI 0.02

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: alex(at)pilosoft(dot)com
Cc: pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] DBD::PgSPI 0.02
Date: 2004-12-06 06:37:17
Message-ID: 20041206063717.GA49356@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Mon, Dec 06, 2004 at 12:27:18AM -0500, alex(at)pilosoft(dot)com wrote:

> A short note that I've updated DBD::PgSPI version 0.02 to CPAN.
>
> There are no new features - but the code now expects (and works with)
> reasonably decent versions of perl (5.8.x) and pgsql (8.x).

Using PostgreSQL 8.0.0rc1 and Perl 5.8.6 on FreeBSD 4.10-STABLE and
Solaris 9, I had to make a couple of changes to get DBD::PgSPI to
build:

1. Add -I$POSTGRES_HOME/include/server to Makefile.PL. Otherwise
the build fails with:

In file included from PgSPI.xs:14:
PgSPI.h:16:22: postgres.h: No such file or directory
PgSPI.h:17:21: funcapi.h: No such file or directory
PgSPI.h:18:26: executor/spi.h: No such file or directory

2. Remove or comment out #include "ppport.h" from PgSPI.h. Neither
of my systems have this file and the module builds without it.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message alex 2004-12-06 06:38:27 Re: [HACKERS] DBD::PgSPI 0.02
Previous Message Derek Fountain 2004-12-06 06:33:31 Re: When to encrypt

Browse pgsql-hackers by date

  From Date Subject
Next Message alex 2004-12-06 06:38:27 Re: [HACKERS] DBD::PgSPI 0.02
Previous Message ElayaRaja S 2004-12-06 06:00:51 postgresql-7.4.5