Skip to content

Code should be stable to the struct LOCKTAG extension.#108

Open
manaldush wants to merge 1 commit intopostgrespro:masterfrom
manaldush:locktag_extension
Open

Code should be stable to the struct LOCKTAG extension.#108
manaldush wants to merge 1 commit intopostgrespro:masterfrom
manaldush:locktag_extension

Conversation

@manaldush
Copy link

LOCKTAG is used in hash calculations, so if new field is added to LOCKTAG and this field is not initialized in pg_wait_sampling internals, as the result, the hashcode of LOCKTAG will have different values for two independent calculations.

LOCKTAG is used in hash calculations, so if new field is added to
LOCKTAG and this field is not initialized in pg_wait_sampling internals,
as the result, the hashcode of LOCKTAG will have different values for
two independent calculations.
@manaldush manaldush changed the title pg_wait_sampling code should be stable to the struct LOCKTAG extension. Code should be stable to the struct LOCKTAG extension. Jan 29, 2026
@manaldush manaldush marked this pull request as draft January 29, 2026 14:13
@manaldush manaldush marked this pull request as ready for review January 29, 2026 14:18
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.

1 participant