Got it working. I added PGLS_FETCH(); to the _rollback_transactions function
as follows:
static int _rollback_transactions(zend_rsrc_list_entry *rsrc)
{
PGconn *link = (PGconn *)rsrc->ptr;
PGLS_FETCH();
PGG(ignore_notices) = 1;
PQexec(link,"BEGIN;ROLLBACK;");
PGG(ignore_notic
I compiled PHP4.0.5 with following config
./configure \
--with-apxs \
--disable-short-tags \
--disable-mysql \
--enable-bcmath \
--enable-ftp \
--enable-shmop \
--enable-sysvsem \
--enable-sysvshm \
--enable-socket \
--enable-mbstring \
--without-mysql \
--enable-inline-optimization \
--with-ico
Some thing must be broken in 4.0.5. I could compile w/o error around RC5 or RC6,
I think.
I compiled CVS source with PostgreSQL7.1's libpq. It compiles and seems working.
(There were warning regarding notice handler, though)
Regards,
--
Yasuo Ohgaki
"Ron Patterson" <[EMAIL PROTECTED]> wrote in
Hi there,
I'm building the new PHP-4.0.5 with support for PostgreSQL 7.1 database and
get the following build error:
gmake[3]: Entering directory `/net/clear1/home/rpatters/php-4.0.5/ext/pgsql'
/bin/sh /net/clear1/home/rpatters/php-4.0.5/libtool --silent --mode=compile
gcc
-I. -I/net/clear1/home