Commit graph

308 commits

Author SHA1 Message Date
Yoshinari Takaoka
982a2bc5aa Added PHP 8 into versions.xml for pgsql based on stubs.
Closes GH-351.
2021-01-18 12:26:59 +01:00
Anna Filina
86a02efda4 Fix #54863 by clarifying return values
Closes GH-318.
2021-01-10 12:39:08 +01:00
Christoph M. Becker
7a81e2b77d Function aliases in pgsql are deprecated as of PHP 8.0.0
The pages of these aliases have already been removed, and the legacy
names are mentioned in notes on the pages of the "new" functions.
Therefore, we just remove the function entries from versions.xml.
2020-12-31 00:55:58 +01:00
Christoph M. Becker
fa7cb182a0 PGSQL_LIBPQ_VERSION_STR is deprecated as of PHP 8.0.0
We also fix the constant names; the migration and UPGRADING got that
wrong[1].

[1] <2e854791af>
2020-12-31 00:39:30 +01:00
Christoph Michael Becker
8ce54b1eee Fix #80500: pg_fetch_result returns type is wrong according to the doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351978 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 17:29:01 +00: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
Christoph Michael Becker
4754397753 Revert revision 351727 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@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +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
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
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
dec1f8445a Remove safe_mode related information
Sorry, translators, for breaking your builds again.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350871 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 22:07:26 +00:00
Christoph Michael Becker
c0a11cfec1 Note case-sensitivity of the parameter name
Patch contributed by Larry Garfield <larry@garfieldtech.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350755 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-04 11:01:54 +00:00
Christoph Michael Becker
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Christoph Michael Becker
9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
f211666868 PostgresSQL: add missing constants & annotate since version
Updating: https://www.php.net/manual/en/pgsql.constants.php

* Add a few constants which weren't listed, but were added in PHP 5.6 / PHP 7.3.
* Annotate the `since` version for various constants.

Refs:
* https://www.php.net/manual/en/migration56.constants.php#migration56.constants.pgsql
* https://www.php.net/manual/en/migration73.constants.php#migration73.constants.pgsql

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349989 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-28 07:02:36 +00:00
Christoph Michael Becker
aebf045bfb Fix miscellaneous typos
Detected by codespell

Patch provided by tandre@php.net.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349708 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:43:55 +00:00
George Peter Banyard
cffb5f5289 Fix configure arg for FFI extension and add an example for PostgreSQL extension.
Provided by petk.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347649 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-23 00:59:14 +00:00
Christoph Michael Becker
109dfef795 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346425 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-27 17:32:38 +00:00
Christoph Michael Becker
d2ab5f1003 Add the PGSQL_DIAG_SEVERITY_NONLOCALIZED Constant and details
-- 
Provided by anonymous 93865 (neranjan125@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345760 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 17:30:47 +00:00
Yasuo Ohgaki
65fe2493a3 Update and fix pg_insert/delete/update/select() description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345569 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-30 02:25:54 +00:00
Jakub Vrana
5ad34a5a05 Document pg_last_notice(, option)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344147 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-01 11:55:49 +00:00
Jakub Vrana
578a13198f Update versions based on parsing sources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344132 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 12:27:12 +00:00
Jakub Vrana
3cf9b6bdca Add changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344130 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 09:07:01 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Jakub Vrana
fa994a739c Fix function signatures
Some of these probably deserve an entry in changelog, please add it if you have energy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343898 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:03:56 +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
André Luis Ferreira da Silva Bacci
e9366ee458 Fix svn:eol-style, svn:keywords and svn:mime-type on XML files. No content change, but some revision numbers will upgrade.
See https://github.com/phpdocbrbridge/bridge/blob/master/src/revbumper.php for automatic tool for translations.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342988 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-02 18:42:15 +00:00
Jean-Sebastien Hedde
9e83f4f6c0 Anonymous contribution
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342953 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 11:37:07 +00:00
Christoph Michael Becker
0212fbf026 Fix typo
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341437 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-23 15:28:53 +00:00
Maciej Sobaczewski
95bdd6883b Another round of PHP 4 content removal (mostly inline mentions)
Review is welcome

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Christoph Michael Becker
19fddb5d65 Update return value description
Inspired by Jean-François Lambert.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340478 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 09:47:42 +00:00
Christoph Michael Becker
b18e6c19c9 Fix #73036: pg_insert() now returns a resource ID instead of boolean
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340460 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-12 17:11:52 +00:00
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Yasuo Ohgaki
042696fa64 Fix bug #68892 Missing few details in online manual page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338290 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 09:32:28 +00:00
Kalle Sommer Nielsen
5d818a7f07 Improve the example for pg_last_oid() a little bit, less variables and a few comments
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335725 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-12 22:39:50 +00:00
Richard Quadling
cb2e7b70b1 svn:keywords, svn:eol-style, svn:ignore all set appropriately.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334955 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-23 12:08:23 +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
Adam Harvey
dc136f50a3 Add new PostgreSQL functions and constants.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334633 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 04:27:35 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Maciej Sobaczewski
8b5940cade Remove changelogs for PHP 4 - 2nd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +00:00
Maciej Sobaczewski
49944c9148 This function is no longer experimental
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334556 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-15 13:02:27 +00:00
Yasuo Ohgaki
e8e7d86806 Fixed bug #66658
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334210 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-09 05:54:22 +00:00
Yasuo Ohgaki
d2cb67973d Fixed bug #65638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334209 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-09 05:45:07 +00:00
Peter Cowburn
877fcb9fd9 Typo.
Patch by Currell Berry

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333669 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-01 13:12:30 +00:00
Philip Olson
0aa774414a Removed removed duplicated duplicated words words
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333548 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-16 20:12:19 +00:00
Yasuo Ohgaki
4501571c0d Update pgsql for 5.6.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332864 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-17 02:21:22 +00:00
Yasuo Ohgaki
2a97d230f2 Fixed Bug #61266pg_affected_rows inconsistent behavior (depends on PostgreSQL server version)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332751 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-29 05:59:27 +00:00
Yasuo Ohgaki
f6269386b9 Add 5.6 pgsql 64bit large object support
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332713 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-22 06:13:30 +00:00
Yasuo Ohgaki
08a7127591 Fixed Doc Bug 64834 Wrong parameter name in pg_trace()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331938 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-24 04:49:06 +00:00