In 5.2.9 I was seeing /usr/local/lib/php/includes/XBT/class/pstgrs_DB.php(70) : Warning - pg_query(): supplied argument is not a valid PostgreSQL link resource /usr/local/lib/php/includes/XBT/class/pstgrs_DB.php(70) : Warning - pg_query() [<a href='function.pg-query'>function.pg-query</a>]: Query failed: ERROR: insert or update on table "tour_times" violates foreign key constraint "ttm_rac_fk" /usr/local/lib/php/includes/XBT/class/pstgrs_DB.php(70) : Warning - pg_query() [<a href='function.pg-query'>function.pg-query</a>]: Query failed: ERROR: insert or update on table "tour_times" violates foreign key constraint "ttm_rac_fk" /usr/local/lib/php/includes/XBT/class/pstgrs_DB.php(72) : Fatal error - Call to undefined function pg_affected_rows() for Postgres 8.1 latest . This is not the case in 5.2.8 What is going on? I used ./configure \ --with-apxs2 \ --enable-embed=shared \ --enable-fastcgi \ --enable-force-cgi-redirect \ --enable-debug \ --with-openssl=/usr \ --with-zlib=/usr \ --with-bz2=/usr \ --enable-calendar \ --enable-ftp \ --with-openssl-dir=/usr \ --with-zlib-dir=/usr \ --with-pdo-pgsql=/usr/local/pgsql/bin \ --with-pgsql=/usr/local/pgsql \ --enable-shared --disable-static to build both libphp5.so modules . -- Member - Liberal International This is doctor@xxxxxxxxxx Ici doctor@xxxxxxxxxx God, Queen and country! Beware Anti-Christ rising! Never Satan President Republic! Point to http://tv.cityonahillproductions.com/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php