pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix a few mistakes in partition aggregate tests 7+ messages / 1 participants [nested] [flat]
* pgsql: Fix a few mistakes in partition aggregate tests @ 2026-10-19 21:32 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: David Rowley @ 2026-10-19 21:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix a few mistakes in partition aggregate tests The pattern seems to be to EXPLAIN the query to ensure we get the expected partition-wise aggregate plan, then run the same query to check the results are what we expect. A couple of places didn't use the same query between the EXPLAIN and the checking of the results, which effectively voided the plan check. Additionally, a comment claimed array_agg() didn't support partial mode, but that was made not true in 16fd03e95. Author: Matthias van de Meent <boekewurm@gmail.com> Reviewed-by: Pierre Forstmann <pierre.forstmann@gmail.com> Reviewed-by: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAEze2WgjJUiqV-VZVrWqYz+ETLtd4oKk2gbvBWxf1Fo0is5XVQ@mail.gmail.com Backpatch-through: 14 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/91b401dc1e9db85e5884c6c0f6dab0fafb0bebeb Modified Files -------------- src/test/regress/expected/partition_aggregate.out | 14 ++++++++------ src/test/regress/sql/partition_aggregate.sql | 8 ++++---- 2 files changed, 12 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix a few mistakes in partition aggregate tests @ 2026-10-19 21:33 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: David Rowley @ 2026-10-19 21:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix a few mistakes in partition aggregate tests The pattern seems to be to EXPLAIN the query to ensure we get the expected partition-wise aggregate plan, then run the same query to check the results are what we expect. A couple of places didn't use the same query between the EXPLAIN and the checking of the results, which effectively voided the plan check. Additionally, a comment claimed array_agg() didn't support partial mode, but that was made not true in 16fd03e95. Author: Matthias van de Meent <boekewurm@gmail.com> Reviewed-by: Pierre Forstmann <pierre.forstmann@gmail.com> Reviewed-by: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAEze2WgjJUiqV-VZVrWqYz+ETLtd4oKk2gbvBWxf1Fo0is5XVQ@mail.gmail.com Backpatch-through: 14 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ccb355d6817a807bb1918fac08886929316b3768 Modified Files -------------- src/test/regress/expected/partition_aggregate.out | 14 ++++++++------ src/test/regress/sql/partition_aggregate.sql | 8 ++++---- 2 files changed, 12 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix a few mistakes in partition aggregate tests @ 2026-10-19 21:34 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: David Rowley @ 2026-10-19 21:34 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix a few mistakes in partition aggregate tests The pattern seems to be to EXPLAIN the query to ensure we get the expected partition-wise aggregate plan, then run the same query to check the results are what we expect. A couple of places didn't use the same query between the EXPLAIN and the checking of the results, which effectively voided the plan check. Additionally, a comment claimed array_agg() didn't support partial mode, but that was made not true in 16fd03e95. Author: Matthias van de Meent <boekewurm@gmail.com> Reviewed-by: Pierre Forstmann <pierre.forstmann@gmail.com> Reviewed-by: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAEze2WgjJUiqV-VZVrWqYz+ETLtd4oKk2gbvBWxf1Fo0is5XVQ@mail.gmail.com Backpatch-through: 14 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e9fa8382df2d64ea3f8292cf3a39a9f7a308572d Modified Files -------------- src/test/regress/expected/partition_aggregate.out | 14 ++++++++------ src/test/regress/sql/partition_aggregate.sql | 8 ++++---- 2 files changed, 12 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix a few mistakes in partition aggregate tests @ 2026-10-19 21:34 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: David Rowley @ 2026-10-19 21:34 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix a few mistakes in partition aggregate tests The pattern seems to be to EXPLAIN the query to ensure we get the expected partition-wise aggregate plan, then run the same query to check the results are what we expect. A couple of places didn't use the same query between the EXPLAIN and the checking of the results, which effectively voided the plan check. Additionally, a comment claimed array_agg() didn't support partial mode, but that was made not true in 16fd03e95. Author: Matthias van de Meent <boekewurm@gmail.com> Reviewed-by: Pierre Forstmann <pierre.forstmann@gmail.com> Reviewed-by: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAEze2WgjJUiqV-VZVrWqYz+ETLtd4oKk2gbvBWxf1Fo0is5XVQ@mail.gmail.com Backpatch-through: 14 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/503573b853962373dff7f2eb85f9007cba8cf312 Modified Files -------------- src/test/regress/expected/partition_aggregate.out | 14 ++++++++------ src/test/regress/sql/partition_aggregate.sql | 8 ++++---- 2 files changed, 12 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix a few mistakes in partition aggregate tests @ 2026-10-19 21:35 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: David Rowley @ 2026-10-19 21:35 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix a few mistakes in partition aggregate tests The pattern seems to be to EXPLAIN the query to ensure we get the expected partition-wise aggregate plan, then run the same query to check the results are what we expect. A couple of places didn't use the same query between the EXPLAIN and the checking of the results, which effectively voided the plan check. Additionally, a comment claimed array_agg() didn't support partial mode, but that was made not true in 16fd03e95. Author: Matthias van de Meent <boekewurm@gmail.com> Reviewed-by: Pierre Forstmann <pierre.forstmann@gmail.com> Reviewed-by: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAEze2WgjJUiqV-VZVrWqYz+ETLtd4oKk2gbvBWxf1Fo0is5XVQ@mail.gmail.com Backpatch-through: 14 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5eaf77b56e36b44fb38ab61552eae9a602b949c4 Modified Files -------------- src/test/regress/expected/partition_aggregate.out | 14 ++++++++------ src/test/regress/sql/partition_aggregate.sql | 8 ++++---- 2 files changed, 12 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix a few mistakes in partition aggregate tests @ 2026-10-19 21:35 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: David Rowley @ 2026-10-19 21:35 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix a few mistakes in partition aggregate tests The pattern seems to be to EXPLAIN the query to ensure we get the expected partition-wise aggregate plan, then run the same query to check the results are what we expect. A couple of places didn't use the same query between the EXPLAIN and the checking of the results, which effectively voided the plan check. Additionally, a comment claimed array_agg() didn't support partial mode, but that was made not true in 16fd03e95. Author: Matthias van de Meent <boekewurm@gmail.com> Reviewed-by: Pierre Forstmann <pierre.forstmann@gmail.com> Reviewed-by: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAEze2WgjJUiqV-VZVrWqYz+ETLtd4oKk2gbvBWxf1Fo0is5XVQ@mail.gmail.com Backpatch-through: 14 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3cd2b01775140b727e10824f731dd2a0a3aa71bf Modified Files -------------- src/test/regress/expected/partition_aggregate.out | 14 ++++++++------ src/test/regress/sql/partition_aggregate.sql | 8 ++++---- 2 files changed, 12 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix a few mistakes in partition aggregate tests @ 2026-10-19 21:36 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: David Rowley @ 2026-10-19 21:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix a few mistakes in partition aggregate tests The pattern seems to be to EXPLAIN the query to ensure we get the expected partition-wise aggregate plan, then run the same query to check the results are what we expect. A couple of places didn't use the same query between the EXPLAIN and the checking of the results, which effectively voided the plan check. Additionally, a comment claimed array_agg() didn't support partial mode, but that was made not true in 16fd03e95. Author: Matthias van de Meent <boekewurm@gmail.com> Reviewed-by: Pierre Forstmann <pierre.forstmann@gmail.com> Reviewed-by: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAEze2WgjJUiqV-VZVrWqYz+ETLtd4oKk2gbvBWxf1Fo0is5XVQ@mail.gmail.com Backpatch-through: 14 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/60614e596ae9c5d222b5fe1efa95817b382722f8 Modified Files -------------- src/test/regress/expected/partition_aggregate.out | 14 ++++++++------ src/test/regress/sql/partition_aggregate.sql | 8 ++++---- 2 files changed, 12 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2026-10-19 21:36 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-10-19 21:32 pgsql: Fix a few mistakes in partition aggregate tests David Rowley <drowley@postgresql.org> 2026-10-19 21:33 pgsql: Fix a few mistakes in partition aggregate tests David Rowley <drowley@postgresql.org> 2026-10-19 21:34 pgsql: Fix a few mistakes in partition aggregate tests David Rowley <drowley@postgresql.org> 2026-10-19 21:34 pgsql: Fix a few mistakes in partition aggregate tests David Rowley <drowley@postgresql.org> 2026-10-19 21:35 pgsql: Fix a few mistakes in partition aggregate tests David Rowley <drowley@postgresql.org> 2026-10-19 21:35 pgsql: Fix a few mistakes in partition aggregate tests David Rowley <drowley@postgresql.org> 2026-10-19 21:36 pgsql: Fix a few mistakes in partition aggregate tests 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