History log of /PHP-8.2/ext/pgsql/pgsql.stub.php (Results 1 – 25 of 30)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 7fccdf72 10-Feb-2023 SATO Kentaro

Add support for generating namespaced constant

Closes GH-10552

# eae893bd 27-Jul-2022 Máté Kocsis

Declare ext/pgsql constants in stubs (#9092)

# d98634e6 13-Oct-2021 Máté Kocsis

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix 2nd param name of pg_send_execute()


# ca219d7d 13-Oct-2021 Máté Kocsis

Fix 2nd param name of pg_send_execute()

Closes GH-7576

# 1bf1481a 30-Aug-2021 Máté Kocsis

Specify a few array func info entries (#7425)

# 8e6e9838 30-Aug-2021 Máté Kocsis

Add support for generating MAY_BE_ARRAY_OF_REF func info flag (#7416)

# 68946bdd 26-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/gd and ext/pgsql (#7408)

# b1822899 24-Aug-2021 Máté Kocsis

Add support for generating optimizer function info from stubs (#7367)

# 2378f357 20-Jul-2021 Máté Kocsis

Use single line phpdoc in stubs where possible

# 570d9b63 20-Jul-2021 Joe Watkins

Not serializable flag permeation

# b3828836 20-Jul-2021 Máté Kocsis

Indent stubs inside global namespace blocks (#7261)

# 32aff25c 10-May-2021 Máté Kocsis

Convert resources to objects in ext/pgsql

Closes GH-6791

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

# 12799847 26-Apr-2021 Máté Kocsis

Merge branch 'PHP-8.0'

* Fix pg_get_notify() parameter name


# d1e590fe 26-Apr-2021 Máté Kocsis

Fix pg_get_notify() parameter name

Closes GH-6916

# af56982a 14-Feb-2021 Máté Kocsis

Generate class entries from stubs for oci8, odbc, openssl, pcntl, pdo, pgsql

Closes GH-6691

# d5f92baa 13-Oct-2020 Máté Kocsis

Fix default value handling of mysqli_fetch_object()

Make [] acceptable both for classes without constructors and
classes with a constructor that takes no arguments.

Closes GH-63

Fix default value handling of mysqli_fetch_object()

Make [] acceptable both for classes without constructors and
classes with a constructor that takes no arguments.

Closes GH-6336.

show more ...

# d6264b09 13-Oct-2020 Máté Kocsis

Verify parameter names of function aliases

Closes GH-6335

# a7e84e2e 13-Oct-2020 Nikita Popov

Fix default value for some pgsql functions

These set the PGSQL_DML_EXEC flag by default.

# 7b0f5f42 13-Oct-2020 Nikita Popov

Don't accept null in pg_unescape_bytea()

This is an error that slipped in via 8d37c37bcdbf6fa99cd275413342457eeb2c664e.
pg_unescape_bytea() did not accept null in PHP 7.4, and it is not

Don't accept null in pg_unescape_bytea()

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.

show more ...

# 3171fec6 07-Oct-2020 Nikita Popov

Update ext/pgsql parameter names

Closes GH-6294.

# 8ff2f2f8 21-Sep-2020 Nikita Popov

Return empty array for no rows in pg_fetch_all()

This makes it line up with pg_fetch_all_columns(), as well as
similar functions in other exts, such as mysqli_fetch_all().

# 54f03d31 21-Sep-2020 Nikita Popov

Promote invalid field to ValueError in pgsql

The same error condition is a ValueError in mysqli, be consistent.

Additionally, do not display the argument name for these errors.

Promote invalid field to ValueError in pgsql

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.

show more ...

# d1bbc39e 21-Sep-2020 Nikita Popov

pg_unescape_bytea() can only fail on OOM

The implementation did not check for PQunescapeBytea failure
correctly, because it checked for a null pointer after estrndup,
which certainly

pg_unescape_bytea() can only fail on OOM

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.

show more ...

# 7300f6fc 21-Sep-2020 Nikita Popov

Deprecate pgsql function aliases

These have been documentation-deprecated for a very long time,
make it official.

# 8d37c37b 16-Sep-2020 Máté Kocsis

Fix a few UNKNOWN default values in ext/pgsql

Closes GH-6149

12