From:             [EMAIL PROTECTED]
Operating system: Redhat 6.2
PHP version:      4.0.6
PHP Bug Type:     PostgreSQL related
Bug description:  segmentation fault committing nothing

Write something which makes an explicit commit before disconnecting from
postgres, but do not make any transactions. A notice is going to appear in
the postgresql log saying that a commit without transactions is made and
the same notice is going to appear in the apache error log as well. The
problem is that 5 times out of 10 Apache is also going to segfault. We had
this kind of "commit if no sql_error was recognized" in our system and
noticed the segfaults in the apache log. We removed the commit and all the
segfaults are gone from then on.

Postgresql 7.1.3. and PHP4.0.6.

 './configure' '--with-oci8' '--with-apache=/coca/install/apache_1.3.22/'
'--enable-sigchild' '--enable-track-vars' '--with-mysql'
'--with-pgsql=/usr/local/pgsql'


-- 
Edit bug report at: http://bugs.php.net/?id=14196&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to