aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/libpq_pipeline/libpq_pipeline.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-06-29 14:34:31 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-06-29 14:34:31 -0400
commitdd2364ced98553e0217bfe8f621cd4b0970db74a (patch)
treec815fa578b54c0ecc461eb8b6b41e3070e1eb3c0 /src/test/modules/libpq_pipeline/libpq_pipeline.c
parentdc227eb82ea8bf6919cd81a182a084589ddce7f3 (diff)
downloadpostgresql-dd2364ced98553e0217bfe8f621cd4b0970db74a.tar.gz
postgresql-dd2364ced98553e0217bfe8f621cd4b0970db74a.zip
Fix bogus logic for reporting which hash partition conflicts.
Commit efbfb6424 added logic for reporting exactly which existing partition conflicts when complaining that a new hash partition's modulus isn't compatible with the existing ones. However, it misunderstood the partitioning data structure, and would select the wrong partition in some cases, or crash outright due to fetching a bogus table OID in other cases. Per bug #17076 from Alexander Lakhin. Fix by Amit Langote; some further work on the code comments by me. Discussion: https://postgr.es/m/17076-89a16ae835d329b9@postgresql.org
Diffstat (limited to 'src/test/modules/libpq_pipeline/libpq_pipeline.c')
0 files changed, 0 insertions, 0 deletions