close
Skip to content

Serialize CompositeCoder#dimensions only when set - #653

Merged
larskanis merged 1 commit into
ged:masterfrom
larskanis:marshal-compat-array
Aug 1, 2025
Merged

Serialize CompositeCoder#dimensions only when set#653
larskanis merged 1 commit into
ged:masterfrom
larskanis:marshal-compat-array

Conversation

@larskanis

Copy link
Copy Markdown
Collaborator

This fixes the compatibility to pg-1.5.9, when deserializing Marshal data from pg-1.6, as long as the new attribute isn't used.

Fixes #652

This fixes the compatibility to pg-1.5.9, when deserializing Marshal data from pg-1.6, as long as the new attribute isn't used.

Fixes ged#652
@Earlopain

Copy link
Copy Markdown

Thanks, this patch makes sense to me! Should help with the majority of cases. I tested it out, works as expected.

@larskanis
larskanis merged commit c2f3468 into ged:master Aug 1, 2025
18 of 21 checks passed
@larskanis
larskanis deleted the marshal-compat-array branch August 1, 2025 13:17
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.

Newly added dimension field makes deserialization of 1.6.0 array field on 1.5.9 raise

2 participants