pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: MAXALIGN the target address where we store flattened value. 4+ messages / 1 participants [nested] [flat]
* pgsql: MAXALIGN the target address where we store flattened value. @ 2018-10-03 04:28 Amit Kapila <akapila@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Amit Kapila @ 2018-10-03 04:28 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org MAXALIGN the target address where we store flattened value. The API (EOH_flatten_into) that flattens the expanded value representation expects the target address to be maxaligned. All it's usage adhere to that principle except when serializing datums for parallel query. Fix that usage. Diagnosed-by: Tom Lane Author: Tom Lane and Amit Kapila Backpatch-through: 9.6 Discussion: https://postgr.es/m/11629.1536550032@sss.pgh.pa.us Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9718c93f532c3cfb6c39679452149dba711d12af Modified Files -------------- src/backend/utils/adt/datum.c | 13 ++++++++++++- src/test/regress/expected/select_parallel.out | 27 +++++++++++++++++++++++++++ src/test/regress/sql/select_parallel.sql | 16 ++++++++++++++++ 3 files changed, 55 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: MAXALIGN the target address where we store flattened value. @ 2018-10-03 04:28 Amit Kapila <akapila@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Amit Kapila @ 2018-10-03 04:28 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org MAXALIGN the target address where we store flattened value. The API (EOH_flatten_into) that flattens the expanded value representation expects the target address to be maxaligned. All it's usage adhere to that principle except when serializing datums for parallel query. Fix that usage. Diagnosed-by: Tom Lane Author: Tom Lane and Amit Kapila Backpatch-through: 9.6 Discussion: https://postgr.es/m/11629.1536550032@sss.pgh.pa.us Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/dca44d07c585637d8245a46a29be732241fa40bf Modified Files -------------- src/backend/utils/adt/datum.c | 13 ++++++++++++- src/test/regress/expected/select_parallel.out | 27 +++++++++++++++++++++++++++ src/test/regress/sql/select_parallel.sql | 16 ++++++++++++++++ 3 files changed, 55 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: MAXALIGN the target address where we store flattened value. @ 2018-10-03 04:28 Amit Kapila <akapila@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Amit Kapila @ 2018-10-03 04:28 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org MAXALIGN the target address where we store flattened value. The API (EOH_flatten_into) that flattens the expanded value representation expects the target address to be maxaligned. All it's usage adhere to that principle except when serializing datums for parallel query. Fix that usage. Diagnosed-by: Tom Lane Author: Tom Lane and Amit Kapila Backpatch-through: 9.6 Discussion: https://postgr.es/m/11629.1536550032@sss.pgh.pa.us Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ca5ca25d08710d7f5aaf0e390aae284bc594a6da Modified Files -------------- src/backend/utils/adt/datum.c | 13 +++++++++++- src/test/regress/expected/select_parallel.out | 29 ++++++++++++++++++++++++++- src/test/regress/sql/select_parallel.sql | 18 ++++++++++++++++- 3 files changed, 57 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: MAXALIGN the target address where we store flattened value. @ 2018-10-03 04:28 Amit Kapila <akapila@postgresql.org> 0 siblings, 0 replies; 4+ messages in thread From: Amit Kapila @ 2018-10-03 04:28 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org MAXALIGN the target address where we store flattened value. The API (EOH_flatten_into) that flattens the expanded value representation expects the target address to be maxaligned. All it's usage adhere to that principle except when serializing datums for parallel query. Fix that usage. Diagnosed-by: Tom Lane Author: Tom Lane and Amit Kapila Backpatch-through: 9.6 Discussion: https://postgr.es/m/11629.1536550032@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9bc9f72b28fe4d2c22244f3443af8f1b98b56474 Modified Files -------------- src/backend/utils/adt/datum.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2018-10-03 04:28 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-10-03 04:28 pgsql: MAXALIGN the target address where we store flattened value. Amit Kapila <akapila@postgresql.org> 2018-10-03 04:28 pgsql: MAXALIGN the target address where we store flattened value. Amit Kapila <akapila@postgresql.org> 2018-10-03 04:28 pgsql: MAXALIGN the target address where we store flattened value. Amit Kapila <akapila@postgresql.org> 2018-10-03 04:28 pgsql: MAXALIGN the target address where we store flattened value. Amit Kapila <akapila@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