You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PostgresStorageAdapter the pointer type is declared as char[10], but if the size of the pointer is less than 10 chars, then it adds whitespace for the remaining characters, this cause the pointer to stop working
If the person decided to use custom IDs instead of the system generated one then it might cause problems.
The project in which I am working on, there are certain tables that have a custom objectID and they are of 3 or 5 chars and are used to store constant values that do not change, so this was causing the issue with populating as Postgres was adding whitespace for the remaining characters.
If we store Pointer as an array of 10 chars then it would not be possible to use custom objectIDs with Postgres.
Custom id's should always be 10 chars, also, note that this will completetly fail as you'll need to alter the tables and there is no upgrade strategy to alter all tables.
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
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.
In PostgresStorageAdapter the pointer type is declared as char[10], but if the size of the pointer is less than 10 chars, then it adds whitespace for the remaining characters, this cause the pointer to stop working