Proper version of PostgreSQL?
| From: | Joey Smith | Date: | Fri, 30 Mar 2001 10:29:46 +0000 |
| Subject: | Proper version of PostgreSQL? | ||
| Groups: | php.dev php.qa | ||
| Request: | Send a blank email to php-qa+get-2686@lists.php.net to get a copy of this message | ||
For those of you building --with-pgsql, what version of PostgreSQL are
you able to build against? I cannot get PHP to build against 6.5.3...
Make fails with:
pgsql.c: In function `_rollback_transactions':
pgsql.c:165: void value not ignored as it ought to be
Line 165 of ext/pgsql/pgsql.c:
old_notice_hook = PQsetNoticeProcessor(link, _be_quiet, NULL);
In /usr/include/postgresql/libpq-fe.h, I have:
extern void PQsetNoticeProcessor
(PGconn *conn, PQnoticeProcessor proc,void *arg)
I looked in the 7.0.3 source, and found that this function now returns a
"PQnoticeProcessor". Perhaps once 4.0.5 is out, someone would like to
patch pgsql's config.m4 so that it checks version?