pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add missing CommandCounterIncrement() in stats import functions. 2+ messages / 2 participants [nested] [flat]
* pgsql: Add missing CommandCounterIncrement() in stats import functions. @ 2024-10-29 17:15 Jeff Davis <jdavis@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Jeff Davis @ 2024-10-29 17:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add missing CommandCounterIncrement() in stats import functions. Reported-by: Alexander Lakhin Discussion: https://postgr.es/m/98b2fcf0-f701-369e-d63d-6be9739ce17c@gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/f22e436bff779fee4e1ce49733ba5791d4634fb1 Modified Files -------------- src/backend/statistics/attribute_stats.c | 11 ++++++++--- src/backend/statistics/relation_stats.c | 2 ++ 2 files changed, 10 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Add missing CommandCounterIncrement @ 2025-01-26 16:38 Álvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 2+ messages in thread From: Álvaro Herrera @ 2025-01-26 16:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add missing CommandCounterIncrement For commit b663b9436e75 I thought this was useless, but turns out not to be for the case where a partitioned table has two identical foreign key constraints which can both be matched by the same constraint in a partition during attach. This CCI makes the match search for the second constraint in the parent ignore the constraint in the child that has already been matched by the first constraint in the parent. Reported-by: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/c599253c-1ccd-4161-80fc-c9065e037a09@gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/0a16c8326c5a14abd180eeefe5e5ee4263513c2a Modified Files -------------- src/backend/commands/tablecmds.c | 20 ++++++++++---------- src/test/regress/expected/foreign_key.out | 10 ++++++++++ src/test/regress/sql/foreign_key.sql | 11 +++++++++++ 3 files changed, 31 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2025-01-26 16:38 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2024-10-29 17:15 pgsql: Add missing CommandCounterIncrement() in stats import functions. Jeff Davis <jdavis@postgresql.org> 2025-01-26 16:38 pgsql: Add missing CommandCounterIncrement Álvaro Herrera <alvherre@alvh.no-ip.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