1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-27 09:18:16 +02:00

19 Commits

Author SHA1 Message Date
KentarouTakeda 5f1a92089f ext/pgsql: Update outdated PostgreSQL version requirements (#5409)
## Summary

The pgsql extension documentation references PostgreSQL versions that have been
outdated for years. The requirements page (`reference/pgsql/setup.xml`) states:

https://www.php.net/manual/en/pgsql.requirements.php

> To use PostgreSQL support, you need PostgreSQL 6.5 or later,
> PostgreSQL 8.0 or later to enable all PostgreSQL module features.

However, the actual minimum libpq versions enforced by php-src are:

| PHP version | Minimum libpq | Commit |
|---|---|---|
| PHP 8.0+ | libpq 9.1 | php/php-src@ce668c0ec6 |
| PHP 8.4+ | libpq 10.0 | php/php-src#14628 |

The "PostgreSQL 6.5" requirement has been incorrect since at least PHP 8.0.0
(released 2020-11-26), which requires libpq 9.1 via `PQlibVersion` check in
`ext/pgsql/config.m4`. As of PHP 8.4, the minimum was further raised to libpq
10.0 via `PQencryptPasswordConn` check in `build/php.m4`.

## Changes

- **setup.xml**: Update requirements to match php-src, following the same
  pattern used by ext/curl and ext/openssl (per-PHP-version listing).
- **14 function pages**: Remove notes referencing PostgreSQL versions 6.3–9.0
  that are no longer relevant given the libpq 10.0 minimum. These include
  version-gated notes for `pg_prepare`, `pg_query_params`, `pg_execute`,
  `pg_escape_string`, `pg_escape_identifier`, `pg_escape_literal`,
  `pg_client_encoding`, `pg_unescape_bytea`, `pg_result_error_field`,
  `pg_parameter_status`, `pg_lo_create`, `pg_version`, `pg_affected_rows`,
  and the general `reference.xml`.
2026-03-10 17:37:21 +00:00
Sergey Panteleev c2eca73ef7 [PHP 8.1] Use PgSql objects instead of resources (#1009) 2021-10-16 13:45:19 +03:00
Máté Kocsis 58645a79f1 Generate ext/pgsql methodsynopses based on stubs (#915) 2021-10-10 00:23:32 +02:00
Christoph Michael Becker e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Jakub Vrana c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Simion Onea 14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Richard Quadling fc9e379fd8 Standardise on single style of quotes for XML tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315005 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 11:38:58 +00:00
Jakub Vrana d8cfeeada7 Returns 'server_version' in 'server' key
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297480 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-04 22:08:00 +00:00
Daniel Egeberg 2fd3f0c96d Converted remaining files to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297078 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:25:51 +00:00
Daniel Egeberg 92ac19c964 Reverted r297058
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297077 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:13:03 +00:00
Richard Quadling 41744b84ad Converted to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297058 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 09:53:08 +00:00
Torben Wilson af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner ddcceba83e fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283831 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 08:37:21 +00:00
Hannes Magnusson c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Mehdi Achour c438d854db Fix typo: (avaliable -> available)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227748 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-21 15:13:40 +00:00
Christopher Kings-Lynne ee4aadc727 Tweak pg_update() docs. Complete remaining new format pgsql docs. PHEW.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189883 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-04 14:42:12 +00:00
Kenneth Schwartz 5b37c04045 Initial transition to new structure; WIP
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181876 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-11 16:03:26 +00:00
Nuno Lopes 7d8389d5bd initial docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169153 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-25 09:27:26 +00:00
Friedhelm Betz 0d8c7e8333 doc skeletons
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@157791 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-02 15:47:00 +00:00