Hi Chris,

> After spending some time searching I'd like to request more information
> be listed as to pg_errormessage in the docs.

You're welcome :)

> It's quite disconserning when looking up a function that used in a
> script and not finding it at all in the docs.  I managed to find
> pg_errormessage docs on an outdated mirror through google and some
> mailing list mentioning that it's been replaced by pg_last_error.  The
> docs for pg_last_error only mention that used to be called
> pg_errormessage with no mention at all to whether or not it still works
> as an alias or if/when it will be phased out.

If I was you, I would have start my search here :
    http://www.php.net/pgsql

There's a big warning saying : " PostgreSQL function names will be
changed in 4.2.0 release to confirm to current coding standards. Most of
new names will have additional underscores, e.g. pg_lo_open(). Some
functions are renamed to different name for consistency. e.g. pg_exec()
to pg_query(). Older names can be used in 4.2.0 and a few releases from
4.2.0, but they may be deleted in the future. "

Erm, pg_errormessage is not mentionned here ! We need a bug report so,
can you fill it ? http://bugs.php.net/


> It does still work and I tried posting that as a note but it was refused
> stating it was a question. I do not understand how "pg_errormessage
> still works in 4.2 and newer so old scripts don't need redone" is a
> question and I don't understand why it would not be thought of as helpfull.


http://news.php.net/article.php?group=php.notes&article=57740

Funny you forgot what you've wrote ;)
"would be nice to know if this alias will be removed eventually or not."

This make more sense for a rejection as it's clearly stated when you're
posting a note :

"#  If you are just commenting on the fact that something is not
documented, save your breath. This is where you add to the
documentation, not where you ask us to add the documentation. You may
choose to email the PHP Documentation Team to discuss the change."

with a link to this mailing-list. I'm sure Vincent wanted you to make a
bug report when he rejected your note. So, do you mind opening it ?

Thank you for your feedback.

Mehdi Achour

Reply via email to