pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Avoid integer wraparound when adding new HASH partition 6+ messages / 1 participants [nested] [flat]
* pgsql: Avoid integer wraparound when adding new HASH partition @ 2026-11-10 22:50 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: David Rowley @ 2026-11-10 22:50 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid integer wraparound when adding new HASH partition Specifying an overly large modulus could result in an integer wraparound while checking for overlapping partitions when adding a new HASH partition. Upgrade to 64-bit integers to avoid this. Bug: #19836 Reported-by: Sumedh Pathak <sumedhpathak@gmail.com> Author: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/19836-0754d466a59c7d00@postgresql.org Backpatch-through: 15 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9f191dce61ebf0ae77bf251b6383915859d7520b Modified Files -------------- src/backend/partitioning/partbounds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Avoid integer wraparound when adding new HASH partition @ 2026-11-10 22:50 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: David Rowley @ 2026-11-10 22:50 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid integer wraparound when adding new HASH partition Specifying an overly large modulus could result in an integer wraparound while checking for overlapping partitions when adding a new HASH partition. Upgrade to 64-bit integers to avoid this. Bug: #19836 Reported-by: Sumedh Pathak <sumedhpathak@gmail.com> Author: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/19836-0754d466a59c7d00@postgresql.org Backpatch-through: 15 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e455a8a8bb1356f54d9a6369317fa32fcef38b9b Modified Files -------------- src/backend/partitioning/partbounds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Avoid integer wraparound when adding new HASH partition @ 2026-11-10 22:50 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: David Rowley @ 2026-11-10 22:50 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid integer wraparound when adding new HASH partition Specifying an overly large modulus could result in an integer wraparound while checking for overlapping partitions when adding a new HASH partition. Upgrade to 64-bit integers to avoid this. Bug: #19836 Reported-by: Sumedh Pathak <sumedhpathak@gmail.com> Author: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/19836-0754d466a59c7d00@postgresql.org Backpatch-through: 15 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3fe8f2c35e8aa3786e779cf077ff5415e1fcee9f Modified Files -------------- src/backend/partitioning/partbounds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Avoid integer wraparound when adding new HASH partition @ 2026-11-10 22:50 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: David Rowley @ 2026-11-10 22:50 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid integer wraparound when adding new HASH partition Specifying an overly large modulus could result in an integer wraparound while checking for overlapping partitions when adding a new HASH partition. Upgrade to 64-bit integers to avoid this. Bug: #19836 Reported-by: Sumedh Pathak <sumedhpathak@gmail.com> Author: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/19836-0754d466a59c7d00@postgresql.org Backpatch-through: 15 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/61afc2ecdbe7e51e94ebaacb6803b4e22f00eb76 Modified Files -------------- src/backend/partitioning/partbounds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Avoid integer wraparound when adding new HASH partition @ 2026-11-10 22:51 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: David Rowley @ 2026-11-10 22:51 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid integer wraparound when adding new HASH partition Specifying an overly large modulus could result in an integer wraparound while checking for overlapping partitions when adding a new HASH partition. Upgrade to 64-bit integers to avoid this. Bug: #19836 Reported-by: Sumedh Pathak <sumedhpathak@gmail.com> Author: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/19836-0754d466a59c7d00@postgresql.org Backpatch-through: 15 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/24f9d35108b377621d99d7c0c5f4a4ffa799547d Modified Files -------------- src/backend/partitioning/partbounds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Avoid integer wraparound when adding new HASH partition @ 2026-11-10 22:51 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: David Rowley @ 2026-11-10 22:51 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid integer wraparound when adding new HASH partition Specifying an overly large modulus could result in an integer wraparound while checking for overlapping partitions when adding a new HASH partition. Upgrade to 64-bit integers to avoid this. Bug: #19836 Reported-by: Sumedh Pathak <sumedhpathak@gmail.com> Author: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/19836-0754d466a59c7d00@postgresql.org Backpatch-through: 15 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d7e355bc0f921cbef60adf521152790fa53f293e Modified Files -------------- src/backend/partitioning/partbounds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2026-11-10 22:51 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-11-10 22:50 pgsql: Avoid integer wraparound when adding new HASH partition David Rowley <drowley@postgresql.org> 2026-11-10 22:50 pgsql: Avoid integer wraparound when adding new HASH partition David Rowley <drowley@postgresql.org> 2026-11-10 22:50 pgsql: Avoid integer wraparound when adding new HASH partition David Rowley <drowley@postgresql.org> 2026-11-10 22:50 pgsql: Avoid integer wraparound when adding new HASH partition David Rowley <drowley@postgresql.org> 2026-11-10 22:51 pgsql: Avoid integer wraparound when adding new HASH partition David Rowley <drowley@postgresql.org> 2026-11-10 22:51 pgsql: Avoid integer wraparound when adding new HASH partition David Rowley <drowley@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox