1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-24 15:52:15 +01:00

16 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
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Jakub Vrana
dd07341fae Remove trailing fullstop in <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Richard Quadling
f658721332 Use &return.falseforfailure; entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290410 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 10:26: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
Jakub Vrana
48a4a3cb4c Optional connection parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273943 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-19 15:13:01 +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
Jakub Vrana
5f728be0ad Converts elements to string (bug #35675)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@204865 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-09 14:38:20 +00:00
Jakub Vrana
a58bcdf974 Fix optional parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183576 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-04 16:16:47 +00:00
Christopher Kings-Lynne
e5761ba392 # Sorry. Fix CRLF line endings, and a few XML problems.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183468 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-03 07:27:30 +00:00
Christopher Kings-Lynne
c598ae36df - Update several PostgreSQL functions to the new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183467 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-03 07:21:50 +00:00
Christopher Kings-Lynne
309b32626c Add basic documentation for all the new pgsql module functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182478 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-20 08:54:31 +00:00