<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/pgsql/pgsql.stub.php, branch php-8.0.0RC4</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Fix default value handling of mysqli_fetch_object()</title>
<updated>2020-10-20T14:48:12+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-10-13T22:12:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=d5f92baad00ce19e096f9936a4ffdcf5c3cd1383'/>
<id>d5f92baad00ce19e096f9936a4ffdcf5c3cd1383</id>
<content type='text'>
Make [] acceptable both for classes without constructors and
classes with a constructor that takes no arguments.

Closes GH-6336.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make [] acceptable both for classes without constructors and
classes with a constructor that takes no arguments.

Closes GH-6336.
</pre>
</div>
</content>
</entry>
<entry>
<title>Verify parameter names of function aliases</title>
<updated>2020-10-16T08:56:33+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-10-13T18:03:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=d6264b09665c20ee73d7a1017db0730f9a7c7973'/>
<id>d6264b09665c20ee73d7a1017db0730f9a7c7973</id>
<content type='text'>
Closes GH-6335
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6335
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix default value for some pgsql functions</title>
<updated>2020-10-13T15:29:05+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-10-13T15:28:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a7e84e2e0220f1df029f12e0199752bf3073fa38'/>
<id>a7e84e2e0220f1df029f12e0199752bf3073fa38</id>
<content type='text'>
These set the PGSQL_DML_EXEC flag by default.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These set the PGSQL_DML_EXEC flag by default.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't accept null in pg_unescape_bytea()</title>
<updated>2020-10-13T13:37:13+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-10-13T13:36:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=7b0f5f424d7a96f2d7f021660a5280a6565a049d'/>
<id>7b0f5f424d7a96f2d7f021660a5280a6565a049d</id>
<content type='text'>
This is an error that slipped in via 8d37c37bcdbf6fa99cd275413342457eeb2c664e.
pg_unescape_bytea() did not accept null in PHP 7.4, and it is not
meaningful for it to accept null now -- it will always fail, and now
with a misleading OOM message.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is an error that slipped in via 8d37c37bcdbf6fa99cd275413342457eeb2c664e.
pg_unescape_bytea() did not accept null in PHP 7.4, and it is not
meaningful for it to accept null now -- it will always fail, and now
with a misleading OOM message.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update ext/pgsql parameter names</title>
<updated>2020-10-13T10:30:44+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-10-07T14:07:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=3171fec6da46a51aab17691a1cd679e88b9fb5f0'/>
<id>3171fec6da46a51aab17691a1cd679e88b9fb5f0</id>
<content type='text'>
Closes GH-6294.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6294.
</pre>
</div>
</content>
</entry>
<entry>
<title>Return empty array for no rows in pg_fetch_all()</title>
<updated>2020-09-21T15:22:02+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-09-21T15:20:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=8ff2f2f84b2c0ea33b38f7e98aaa710ce4f3fc91'/>
<id>8ff2f2f84b2c0ea33b38f7e98aaa710ce4f3fc91</id>
<content type='text'>
This makes it line up with pg_fetch_all_columns(), as well as
similar functions in other exts, such as mysqli_fetch_all().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it line up with pg_fetch_all_columns(), as well as
similar functions in other exts, such as mysqli_fetch_all().
</pre>
</div>
</content>
</entry>
<entry>
<title>Promote invalid field to ValueError in pgsql</title>
<updated>2020-09-21T15:00:23+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-09-21T14:11:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=54f03d31e07450defb230367a65d58cd42e80b1d'/>
<id>54f03d31e07450defb230367a65d58cd42e80b1d</id>
<content type='text'>
The same error condition is a ValueError in mysqli, be consistent.

Additionally, do not display the argument name for these errors.
As the signatures are overloaded, the argument name may not match
the meaning at all.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The same error condition is a ValueError in mysqli, be consistent.

Additionally, do not display the argument name for these errors.
As the signatures are overloaded, the argument name may not match
the meaning at all.
</pre>
</div>
</content>
</entry>
<entry>
<title>pg_unescape_bytea() can only fail on OOM</title>
<updated>2020-09-21T13:46:55+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-09-21T13:46:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=d1bbc39e4cbf3068ac64e8b107814e0bb8ddc762'/>
<id>d1bbc39e4cbf3068ac64e8b107814e0bb8ddc762</id>
<content type='text'>
The implementation did not check for PQunescapeBytea failure
correctly, because it checked for a null pointer after estrndup,
which certainly cannot happen. Inspection of the PGunescapeBytea
implementation has shown that this function can only fail on OOM,
so let's check for that explicitly and remove false as a possible
return type.

While we're here, avoid an unnecessary copy of the result.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The implementation did not check for PQunescapeBytea failure
correctly, because it checked for a null pointer after estrndup,
which certainly cannot happen. Inspection of the PGunescapeBytea
implementation has shown that this function can only fail on OOM,
so let's check for that explicitly and remove false as a possible
return type.

While we're here, avoid an unnecessary copy of the result.
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate pgsql function aliases</title>
<updated>2020-09-21T09:33:05+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-09-21T09:32:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=7300f6fc17effef09b1254c1b060f4f7279e3af3'/>
<id>7300f6fc17effef09b1254c1b060f4f7279e3af3</id>
<content type='text'>
These have been documentation-deprecated for a very long time,
make it official.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These have been documentation-deprecated for a very long time,
make it official.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a few UNKNOWN default values in ext/pgsql</title>
<updated>2020-09-17T09:00:59+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-09-16T20:33:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=8d37c37bcdbf6fa99cd275413342457eeb2c664e'/>
<id>8d37c37bcdbf6fa99cd275413342457eeb2c664e</id>
<content type='text'>
Closes GH-6149
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6149
</pre>
</div>
</content>
</entry>
</feed>
