close
Skip to content

Split off endianness and version-dependent conversion tests - #213

Merged
davecramer merged 1 commit into
postgresql-interfaces:mainfrom
df7cb:conversion-endianness
Sep 13, 2026
Merged

Split off endianness and version-dependent conversion tests#213
davecramer merged 1 commit into
postgresql-interfaces:mainfrom
df7cb:conversion-endianness

Conversation

@df7cb

@df7cb df7cb commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

result-conversions.out had 4 different output variants and it was easy to forget to update _1 _2 _3.out when something changed. Split the parts that actually differ (hex representation on big-endian systems and floating point representation on pre-PG12 servers) into a separate file so result-conversions.out is left with only one variant.

This fixes the test on big-endian that was missed in 4a5a0e7.

Assisted-By: Kimi

result-conversions.out had 4 different output variants and it was easy
to forget to update _1 _2 _3.out when something changed. Split the parts
that actually differ (hex representation on big-endian systems and
floating point representation on pre-PG12 servers) into a separate file
so result-conversions.out is left with only one variant.

This fixes the test on big-endian that was missed in 4a5a0e7.

Assisted-By: Kimi
@df7cb

df7cb commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

@davecramer

Copy link
Copy Markdown
Contributor

I wanted to add this comment. So should we add a debian build to the CI to avoid these surprises ?

@davecramer
davecramer merged commit 94e9822 into postgresql-interfaces:main Sep 13, 2026
8 checks passed
@df7cb

df7cb commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

Debian packages build from release tarballs, and the buildds are not meant for CI-style builds. So I guess we need to live with the surprises, unless someone figures out a way to hook some big-endian arch into github CI. But the problems have been pretty rare in the past, so it might not be worth it.

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