note 9201 added to pg_errormessage

From: Date: Sun, 22 Oct 2000 17:21:32 +0000
Subject: note 9201 added to pg_errormessage
Groups: php.notes 
Request: Send a blank email to php-notes+get-6828@lists.php.net to get a copy of this message
I am a native speaker. The manual page is grammatically incorrect and unclear. I think the author is trying to say that if an error causes the database connection to die, then you won't be able to get the error message. In such cases, you can at least infer the problem. The author may also be trying to say that if you get an error, then execute another database command, your error message will get lost. That would be a problem. In any case, it's clear that you can expect a string from this function if the last database command you sent resulted in an error. http://www.php.net/manual/function.pg-errormessage.php

« previous php.notes (#6828) next »