ext/pgsql: pg_put_line deprecation proposal
| From: | David CARLIER | Date: | Mon, 20 May 2024 12:03:51 +0000 |
| Subject: | ext/pgsql: pg_put_line deprecation proposal | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-123368@lists.php.net to get a copy of this message | ||
I would like to know if it would be fine to deprecate pg_put_line.
Reasoning is PQPutLine is part of the obsolete list of calls for COPY
purpose
<https://www.postgresql.org/docs/current/libpq-copy.html#LIBPQ-PQPUTLINE>
since
the PostgreSQL protocol 3.0 version (supported since postgresql 7.4
released about 20 years ago, see New client-to-server protocol regarding
COPY <https://www.postgresql.org/docs/7.4/release-7-4.html>).
Related PR <https://github.com/php/php-src/pull/14250>.
Cheers