| Summary: | Some postgresql functions are not avaiblable within PHP5. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Julien Biezemans <jb> |
| Component: | [OLD] Development | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | CC: | esigra, pgsql-bugs |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Julien Biezemans
2005-07-04 13:22:06 UTC
Ookay. What's wrong ? pg_query_params and pg_send_query_params were introduced in PHP 5.1 beta2. You are using PHP 5.0.4. Do you think PHP should magically pull and install new version if you'll calling new functions, or what ? (In reply to comment #1) > Ookay. What's wrong ? pg_query_params and pg_send_query_params were introduced > in PHP 5.1 beta2. You are using PHP 5.0.4. Do you think PHP should magically > pull and install new version if you'll calling new functions, or what ? PHP manual says the function is available in PHP5 http://fr.php.net/manual/en/function.pg-send-query-params.php. This can be the cause of my problem but I'm not a god and cannot guess errors in official manuals! Would you please be kind enough to show me where you got this information? Could you also please be less agressive in your reply? I'm only contributing and trying to help. If I made a mistake, I apologize but I don't have to undergo your painful comments. Thank you. As stated before, those functions are not available in PHP5 but in 5.1. (this is badly documented, though). > This can be the cause of my problem but I'm not a god and cannot guess errors in official manuals! Why not ? PHP manuals are *KNOWN* to be not 100% reliable as far as version information is concerned: function description is included in manual when function is added to CVS - and at that stage information about release where it'll be introduced is not yet available! Always check http://cvs.php.net/php-src/NEWS file if in doubt (select last version without "branch" tag - currently it's http://cvs.php.net/co.php/php-src/NEWS?r=1.1979). (In reply to comment #4) > > This can be the cause of my problem but I'm not a god and cannot guess errors > in official manuals! > > Why not ? PHP manuals are *KNOWN* to be not 100% reliable as far as version > information is concerned: function description is included in manual when > function is added to CVS - and at that stage information about release where > it'll be introduced is not yet available! Always check > http://cvs.php.net/php-src/NEWS file if in doubt (select last version without > "branch" tag - currently it's http://cvs.php.net/co.php/php-src/NEWS?r=1.1979). Thank you for the hints about php doc being not 100% reliable concerning versions. I never had such a problem before. Concerning the changelog I actually looked in the CVS but didn't find the information. In fact I only checked 1.1760.2.448 which was the first entry and displayed above 1.1979 (I thought it was the newest version, but I was wrong). |