Skip to content

fix: deal with NULL in FromDatum implementation for bytea type in Cell#502

Merged
burmecia merged 1 commit intomainfrom
bo/fix/null-bytea
Sep 2, 2025
Merged

fix: deal with NULL in FromDatum implementation for bytea type in Cell#502
burmecia merged 1 commit intomainfrom
bo/fix/null-bytea

Conversation

@burmecia
Copy link
Copy Markdown
Member

@burmecia burmecia commented Sep 2, 2025

What kind of change does this PR introduce?

This PR is to fix incorrect NULL processing in FromDatum implementation for bytea type in Cell.

What is the current behavior?

It didn't deal with NULL case properly and always return NOT NULL.

What is the new behavior?

Deal with NULL case correctly just like other data types.

Additional context

N/A

@burmecia burmecia added the bug Something isn't working label Sep 2, 2025
@burmecia burmecia requested a review from imor September 2, 2025 01:10
@burmecia burmecia merged commit cc7c980 into main Sep 2, 2025
6 checks passed
@burmecia burmecia deleted the bo/fix/null-bytea branch September 2, 2025 04:55
DenisBessa pushed a commit to DenisBessa/wrappers that referenced this pull request Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants