Skip to content

Fix pg_lo_import return type#4785

Merged
devnexen merged 1 commit intophp:masterfrom
VincentLanglet:patch-1
Jul 19, 2025
Merged

Fix pg_lo_import return type#4785
devnexen merged 1 commit intophp:masterfrom
VincentLanglet:patch-1

Conversation

@VincentLanglet
Copy link
Copy Markdown
Contributor

@VincentLanglet VincentLanglet commented Jul 19, 2025

Cf https://github.com/php/php-src/blob/dd3a098a9bf967831e889d2e19e873d09c71c9b9/ext/pgsql/pgsql.stub.php#L788

And the doc is already saying it returns false on failure.

So it should be at least int|false.
For the string part I'm not fully sure but I think it's confirmed by
https://github.com/php/php-src/blob/dd3a098a9bf967831e889d2e19e873d09c71c9b9/ext/pgsql/pgsql_arginfo.h#L265

The issue exists on every languages.
Should I do a PR on every doc-* repository ?

@devnexen
Copy link
Copy Markdown
Member

The issue exists on every languages. Should I do a PR on every doc-* repository ?

For most of the languages, there are maintainers you do not need to ;)

@devnexen devnexen merged commit d0ae617 into php:master Jul 19, 2025
2 checks passed
@devnexen
Copy link
Copy Markdown
Member

Thanks.

@VincentLanglet
Copy link
Copy Markdown
Contributor Author

VincentLanglet commented Jul 19, 2025

The issue exists on every languages. Should I do a PR on every doc-* repository ?

For most of the languages, there are maintainers you do not need to ;)

Do you means they will update their language after this merge ?

@devnexen
Copy link
Copy Markdown
Member

Yes (I m one of the fr maintainers). Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants