Alter Postgres column cache_messages.uid from int to bigint - #10282
Open
KonkenBonken wants to merge 3 commits into
Open
Alter Postgres column cache_messages.uid from int to bigint#10282KonkenBonken wants to merge 3 commits into
KonkenBonken wants to merge 3 commits into
Conversation
…t the full range of uint32
alecpl
reviewed
Aug 15, 2026
Contributor
Author
|
What's the matter with Linux / PHP 8.4 and Linux / PHP 8.2 failing it doesn't looks like it caused by any code error in this PR. |
Member
|
git.kolab.org where one dependency resides is often overloaded because of AI scrapers. Don't worry about it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #10258
This fixes a bug where the
uidcolumn oncache_messages, in Postgres, does not support the full range of possible values for message UID that RFC 3501 allows.Specifically, the Unique Identifier Message Attribute (UID) is represented as an non-zero unsigned 32-bit integer. The Postgres type
integeris represented as a signed 32-bit integer. Opposed to MySQL, Postgres does not support any unsigned integer type.To resolve this, we update the column type to store the UID as a
bigint(signed 64-bit integer).