Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #33129

PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB
(which is used for QBMapper).

Previously we just converted this resource using settype, which produced
things like "Resource id #14" instead of the actual resource data.

Now we read the stream correctly if the returned data is a resource

See context at #22472

Fixes #22439

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
@backportbot-nextcloud backportbot-nextcloud bot added bug php Pull requests that update Php code labels Jul 25, 2022
@backportbot-nextcloud backportbot-nextcloud bot added this to the Nextcloud 24.0.4 milestone Jul 25, 2022
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PVince81 PVince81 added the 4. to release Ready to be released and/or waiting for tests to finish label Jul 25, 2022
@nickvergessen nickvergessen merged commit 1749771 into stable24 Jul 26, 2022
@nickvergessen nickvergessen deleted the backport/33129/stable24 branch July 26, 2022 07:43
@blizzz blizzz mentioned this pull request Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants