[doc-en] master: ext/pgsql: Remove the reference to `pg_service()` which is unavailable with any released libpq (#5873)
| From: | KentarouTakeda via GitHub | Date: | Thu, 24 Sep 2026 12:07:15 +0000 |
| Subject: | [doc-en] master: ext/pgsql: Remove the reference to `pg_service()` which is unavailable with any released libpq (#5873) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23771@lists.php.net to get a copy of this message | ||
Author: KentarouTakeda (KentarouTakeda)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2026-09-24T13:07:12+01:00
Commit: https://github.com/php/doc-en/commit/efd2c25fb3ce943af2a91209bd7bdf3a5eb13dc3
Raw diff: https://github.com/php/doc-en/commit/efd2c25fb3ce943af2a91209bd7bdf3a5eb13dc3.diff
ext/pgsql: Remove the reference to
pg_service() which is unavailable with any released
libpq (#5873)
Changed paths:
D reference/pgsql/functions/pg-service.xml
M appendices/migration85/new-functions.xml
M reference/pgsql/versions.xml
Diff:
diff --git a/appendices/migration85/new-functions.xml b/appendices/migration85/new-functions.xml
index fe768ee9e653..ffe0f7751e5d 100644
--- a/appendices/migration85/new-functions.xml
+++ b/appendices/migration85/new-functions.xml
@@ -80,7 +80,6 @@
<simplelist>
<member><function>pg_close_stmt</function></member>
- <member><function>pg_service</function></member>
</simplelist>
</sect2>
diff --git a/reference/pgsql/functions/pg-service.xml b/reference/pgsql/functions/pg-service.xml
deleted file mode 100644
index 6f84565c8627..000000000000
--- a/reference/pgsql/functions/pg-service.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<refentry xml:id="function.pg-service" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
- <refname>pg_service</refname>
- <refpurpose>Gets the service name of the connection</refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
- &reftitle.description;
- <methodsynopsis>
- <type>string</type><methodname>pg_service</methodname>
- <methodparam choice="opt"><type
class="union"><type>PgSql\Connection</type><type>null</type></type><parameter>connection</parameter><initializer>&null;</initializer></methodparam>
- </methodsynopsis>
- <simpara>
- Returns the name of the connection service used to establish the connection,
- as defined in the connection service file.
- </simpara>
- <simpara>
- This function is only available if PHP has been built against libpq 18 or
- later.
- </simpara>
- </refsect1>
-
- <refsect1 role="parameters">
- &reftitle.parameters;
- <variablelist>
- <varlistentry>
- <term><parameter>connection</parameter></term>
- <listitem>
- &pgsql.parameter.connection-with-nullable-default;
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1>
-
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <simpara>
- A <type>string</type> containing the service name of the connection, or an
- empty <type>string</type> if no service was used.
- </simpara>
- </refsect1>
-
- <refsect1 role="seealso">
- &reftitle.seealso;
- <simplelist>
- <member><function>pg_connect</function></member>
- <member><function>pg_dbname</function></member>
- <member><function>pg_host</function></member>
- <member><function>pg_port</function></member>
- </simplelist>
- </refsect1>
-
-</refentry>
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
diff --git a/reference/pgsql/versions.xml b/reference/pgsql/versions.xml
index 9b928b6198b8..ea627743c055 100644
--- a/reference/pgsql/versions.xml
+++ b/reference/pgsql/versions.xml
@@ -92,7 +92,6 @@
<function name="pg_set_error_context_visibility" from="PHP 8 >=
8.3.0"/>
<function name="pg_set_error_verbosity" from="PHP 5 >= 5.1.0, PHP 7, PHP
8"/>
<function name="pg_set_chunked_rows_size" from="PHP 8 >= 8.4.0"/>
- <function name="pg_service" from="PHP 8 >= 8.5.0"/>
<function name="pg_socket" from="PHP 5 >= 5.6.0, PHP 7, PHP 8"/>
<function name="pg_socket_poll" from="PHP 8 >= 8.4.0"/>
<function name="pg_trace" from="PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP
8"/>