353 Commits

Author SHA1 Message Date
Mikhail Alferov
469e5fa809 pg-prepare.xml Amend XML syntax, add tags, clarify purpose (#3747)
* pg-prepare.xml Amend XML syntax, add tags, clarify purpose

* Update pg-prepare.xml remove trailing whitespaces
2024-09-22 19:37:17 +01:00
Mikhail Alferov
e50e797467 Remove extra space characters (GH-3737)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2024-09-12 23:37:42 +02:00
haszi
63916fd88a Add PGSQL_ERRORS_SQLSTATE constant (#3510) 2024-06-30 19:55:51 +01:00
Gina Peter Banyard
4d17b7b494 [skip-revcheck] Convert class markup to be compatible with DocBook 5.2
Closes GH-3415
2024-06-14 17:04:53 +01:00
Tim MacDonald
95b8f4df66 Standardise capitalisation oh Open Source (#2731) 2024-04-17 13:01:25 +01:00
Sergey Panteleev
39bb8a8689 [PHP 8.3] Update PGSQL (#3187)
Co-authored-by: David CARLIER <devnexen@gmail.com>
2024-02-19 00:10:54 +00:00
Takuya Aramaki
9e6c3416c5 Replace deprecated ${var} string interpolations with {$var} (#3179) 2024-02-13 17:04:06 +00:00
Gina Peter Banyard
d4d5216e7a [skip-revcheck] Replace PHP_INI_* with INI_* constants
Performed via a bash script which can be found on PR GH-3140

Closes GH-3140

Co-authored-by: haszi <haszika80@gmail.com>
2024-01-26 14:00:36 +00:00
Mikhail Alferov
cb25637724 Update constants.xml
Typo "fieds" → "fields"
2023-12-24 16:29:26 +00:00
Mikhail Alferov
74f6297a1b Amended of funcion name in pgsql/constants.xml
The funcion pg_set_error_context_set_visibility() doesn't exists, probably typo
2023-12-24 16:29:26 +00:00
David CARLIER
3f2e2d4a8c [PHP 8.3] pg_trace update (#2961) 2023-11-22 18:42:31 +00:00
David CARLIER
ebd624e434 [PHP 8.3] pgsql update (#2955)
[PHP 8.3] pgsql update

Co-authored-by: Gina Peter Banyard <girgias@php.net>
2023-11-22 06:05:30 +00:00
David CARLIER
9d6701a720 Revert ext/pgsql pipeline mode documentation after revert (#2953)
* Revert "[skip-revcheck] fixed typo in pgsql constants update (#2951)"

This reverts commit b286de7e88.

* Revert "deleted needless example description <para>, part II."

This reverts commit 1f5de88647.

* Revert "deleted needless example description <para>."

This reverts commit 98f571b5cf.

* Revert "[PHP 8.3] pgsql constants update (#2941)"

This reverts commit 842c0ebebf.

* Revert "ext/pgsql: document new PHP 8.3 functions (#2934)"

This reverts commit 4d566363a3.
2023-11-21 00:23:34 +00:00
Yoshinari Takaoka
b286de7e88 [skip-revcheck] fixed typo in pgsql constants update (#2951) 2023-11-19 19:35:32 +09:00
Yoshinari Takaoka
1f5de88647 deleted needless example description <para>, part II. 2023-11-19 18:37:11 +09:00
Yoshinari Takaoka
98f571b5cf deleted needless example description <para>. 2023-11-19 18:27:09 +09:00
David CARLIER
842c0ebebf [PHP 8.3] pgsql constants update (#2941)
[PHP 8.3] pgsql constants update

Co-authored-by: Gina Peter Banyard <girgias@php.net>
2023-11-15 08:00:53 +00:00
David CARLIER
4d566363a3 ext/pgsql: document new PHP 8.3 functions (#2934)
* pg_set_error_context_visibility
* pg_enter_pipeline_mode
* pg_exit_pipeline_mode
* pg_pipeline_status
* pg_pipeline_sync
2023-11-14 01:25:41 +00:00
Máté Kocsis
5bc8ebe3c1 Synchronize predefined constants with stubs - part 3 (#2742)
Fix wrong constant types. Apparently, in some cases, the type of the relevant option is documented as the constant type.
2023-09-05 11:16:57 +01:00
Máté Kocsis
5e9500ddad [skip-revcheck] Syncronize predefined constants with stubs - part 1 (#2739)
Preparation commit for syncing constants with stub.

This reformats the page, which is mainly just whitespace changes.
2023-09-04 23:37:50 +01:00
Máté Kocsis
14767af0f0 Use new class synopsis markup (#2611)
Follow-up on https://github.com/php/phd/pull/77
2023-08-30 12:28:30 +01:00
David CARLIER
2fa74a5512 ext/pgsql: pg_select document mode parameter (#2521)
* ext/pgsql: pg_select document mode parameter
Co-authored-by: George Peter Banyard <girgias@php.net>
2023-06-17 17:04:12 +01:00
Chuong
2ca0903429 fix: true return type for return true always function (#2154)
Various functions and method have had their return type changed to true.

Fix this and add changelog entries.

Co-authored-by: George Peter Banyard <girgias@php.net>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2023-02-20 16:16:37 +00:00
Christoph M. Becker
fbd75a1be5 Fix GH-2198: Typo in pg_insert() example 2023-01-16 19:59:13 +01:00
Christoph M. Becker
cfeb14a38b Fix GH-1678: The "mode" parameter of pg_fetch_row is not documented
Instead of another copy&paste, we introduce a new XML entity.
2022-07-05 18:29:50 +02:00
Christoph M. Becker
46d4ffd454 Fix GH-1679: Undocumented change of pg_fetch_all 2022-07-05 18:11:22 +02:00
emkey08
47eb355293 The default mode is PGSQL_ASSOC, not PGSQL_BOTH
Closes GH-1677.
2022-07-05 17:19:45 +02:00
Christoph M. Becker
ad618eea48 Remove grossly outdated info about PHP 4.0.3 requirement 2022-05-09 16:02:38 +02:00
Máté Kocsis
9363cb735c [skip-revcheck] Generate ext/pgsql class synopses from stubs (#1110) 2021-11-17 08:59:49 +01:00
Christoph M. Becker
6fcf14255c Fix #72058: pg_field_num Error with Quoted Aliases 2021-11-11 12:33:38 +01:00
Sergey Panteleev
c2eca73ef7 [PHP 8.1] Use PgSql objects instead of resources (#1009) 2021-10-16 13:45:19 +03:00
Martin Samesch
b323b5e04b typo 2021-10-15 12:40:01 +00:00
Martin Samesch
5e75ce8c92 Wrong parameter name in pg_delete (#1029) 2021-10-15 13:15:29 +01:00
Martin Samesch
2eda09ff8e typo 2021-10-12 15:53:31 +00:00
George Peter Banyard
81aced57e0 Follow-up nit
Use correct function name instead of the one from the copy/paste
Also update pg_delete as it has the same issues
2021-10-11 00:49:59 +01:00
George Peter Banyard
5589cbb636 Couple of nits to pgsql docs
Redundant paragraph
Add <constant> markup and normalize
Fix parameter name
2021-10-11 00:39:34 +01:00
Máté Kocsis
58645a79f1 Generate ext/pgsql methodsynopses based on stubs (#915) 2021-10-10 00:23:32 +02:00
Sergey Panteleev
3954d29fbd Fix issues in PgSql directory
Part of #658
2021-06-09 09:56:59 +03:00
Sergey Panteleev
184f3f7bd4 Remove PHP 5, 7 references (#565) 2021-05-12 14:49:16 +03:00
Sergey Panteleev
a0ae28d3bc Removed references to PHP 5, PHP 7.0 (#545) 2021-04-24 20:01:17 +03:00
Sergey Panteleev
5fabd07880 Removed Changelog entries for PHP 5, PHP 7.0 (#543) 2021-04-22 17:52:58 +03:00
Christoph M. Becker
6dfe076725 xi:include INI settings documented elsewhere in ini.list
We do not xi:include core INI settings, since we want to keep
alphabetic sort order (well, roughly at least).

We do add xi:fallback elements to all xi:includes, just in case.
2021-02-24 17:58:20 +01:00
Martin Samesch
7d763b79e5 fix fix; need some coffee 2021-02-02 12:05:13 +01:00
Martin Samesch
04c08d2238 really remove PHP 5 changelog 2021-02-02 12:01:17 +01:00
Martin Samesch
fc54f9a81a fix example; remove PHP 5 changelog 2021-02-02 11:58:19 +01:00
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