pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity
7+ messages / 1 participants
[nested] [flat]

* pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity
@ 2026-10-30 02:30 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: David Rowley @ 2026-10-30 02:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove unwarranted Assert in dependencies_clauselist_selectivity()

The loop above from where the Assert is removed handles assigning the same
attnum to any duplicate expressions, so asserting there are no duplicate
attnums just after purposefully making duplicate ones isn't the correct
thing to do.

The Assert was added by a4d75c86bf, so backpatch to v14

Author: BHUVAN CHILUKUTI <c.bhuvan@iitg.ac.in>
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/PN0P287MB0903563C70D8E5B81912E855A7602@PN0P287MB0903.INDP287.PROD.OUTLOOK.COM
Backpatch-through: 14

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b0392c26bd3cfb61ee24b7577967cc806d01da36

Modified Files
--------------
src/backend/statistics/dependencies.c | 11 -----------
1 file changed, 11 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity
@ 2026-10-30 02:31 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: David Rowley @ 2026-10-30 02:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove unwarranted Assert in dependencies_clauselist_selectivity()

The loop above from where the Assert is removed handles assigning the same
attnum to any duplicate expressions, so asserting there are no duplicate
attnums just after purposefully making duplicate ones isn't the correct
thing to do.

The Assert was added by a4d75c86bf, so backpatch to v14

Author: BHUVAN CHILUKUTI <c.bhuvan@iitg.ac.in>
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/PN0P287MB0903563C70D8E5B81912E855A7602@PN0P287MB0903.INDP287.PROD.OUTLOOK.COM
Backpatch-through: 14

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bfa409cc11815030fc42db8429f7cefda27f8772

Modified Files
--------------
src/backend/statistics/dependencies.c | 11 -----------
1 file changed, 11 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity
@ 2026-10-30 02:31 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: David Rowley @ 2026-10-30 02:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove unwarranted Assert in dependencies_clauselist_selectivity()

The loop above from where the Assert is removed handles assigning the same
attnum to any duplicate expressions, so asserting there are no duplicate
attnums just after purposefully making duplicate ones isn't the correct
thing to do.

The Assert was added by a4d75c86bf, so backpatch to v14

Author: BHUVAN CHILUKUTI <c.bhuvan@iitg.ac.in>
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/PN0P287MB0903563C70D8E5B81912E855A7602@PN0P287MB0903.INDP287.PROD.OUTLOOK.COM
Backpatch-through: 14

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e527e4a7665abc2f6aec4b19b5b0a677ec891dbd

Modified Files
--------------
src/backend/statistics/dependencies.c | 11 -----------
1 file changed, 11 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity
@ 2026-10-30 02:31 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: David Rowley @ 2026-10-30 02:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove unwarranted Assert in dependencies_clauselist_selectivity()

The loop above from where the Assert is removed handles assigning the same
attnum to any duplicate expressions, so asserting there are no duplicate
attnums just after purposefully making duplicate ones isn't the correct
thing to do.

The Assert was added by a4d75c86bf, so backpatch to v14

Author: BHUVAN CHILUKUTI <c.bhuvan@iitg.ac.in>
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/PN0P287MB0903563C70D8E5B81912E855A7602@PN0P287MB0903.INDP287.PROD.OUTLOOK.COM
Backpatch-through: 14

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1fd6ed1f8cf5e0e40d2c66ea0ac4788af757b937

Modified Files
--------------
src/backend/statistics/dependencies.c | 11 -----------
1 file changed, 11 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity
@ 2026-10-30 02:31 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: David Rowley @ 2026-10-30 02:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove unwarranted Assert in dependencies_clauselist_selectivity()

The loop above from where the Assert is removed handles assigning the same
attnum to any duplicate expressions, so asserting there are no duplicate
attnums just after purposefully making duplicate ones isn't the correct
thing to do.

The Assert was added by a4d75c86bf, so backpatch to v14

Author: BHUVAN CHILUKUTI <c.bhuvan@iitg.ac.in>
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/PN0P287MB0903563C70D8E5B81912E855A7602@PN0P287MB0903.INDP287.PROD.OUTLOOK.COM
Backpatch-through: 14

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9ffd2018aa77b6d01d4ef81279ea3f9cc429bc9f

Modified Files
--------------
src/backend/statistics/dependencies.c | 11 -----------
1 file changed, 11 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity
@ 2026-10-30 02:31 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: David Rowley @ 2026-10-30 02:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove unwarranted Assert in dependencies_clauselist_selectivity()

The loop above from where the Assert is removed handles assigning the same
attnum to any duplicate expressions, so asserting there are no duplicate
attnums just after purposefully making duplicate ones isn't the correct
thing to do.

The Assert was added by a4d75c86bf, so backpatch to v14

Author: BHUVAN CHILUKUTI <c.bhuvan@iitg.ac.in>
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/PN0P287MB0903563C70D8E5B81912E855A7602@PN0P287MB0903.INDP287.PROD.OUTLOOK.COM
Backpatch-through: 14

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d4a81ec05ee1bc197c780092e8cc2b41ff7fcbd9

Modified Files
--------------
src/backend/statistics/dependencies.c | 11 -----------
1 file changed, 11 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity
@ 2026-10-30 02:32 David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: David Rowley @ 2026-10-30 02:32 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove unwarranted Assert in dependencies_clauselist_selectivity()

The loop above from where the Assert is removed handles assigning the same
attnum to any duplicate expressions, so asserting there are no duplicate
attnums just after purposefully making duplicate ones isn't the correct
thing to do.

The Assert was added by a4d75c86bf, so backpatch to v14

Author: BHUVAN CHILUKUTI <c.bhuvan@iitg.ac.in>
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/PN0P287MB0903563C70D8E5B81912E855A7602@PN0P287MB0903.INDP287.PROD.OUTLOOK.COM
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2a99622bfc01a61e883be573a12d1b52b8f38bcf

Modified Files
--------------
src/backend/statistics/dependencies.c | 11 -----------
1 file changed, 11 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2026-10-30 02:32 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 02:30 pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity David Rowley <drowley@postgresql.org>
2026-10-30 02:31 pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity David Rowley <drowley@postgresql.org>
2026-10-30 02:31 pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity David Rowley <drowley@postgresql.org>
2026-10-30 02:31 pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity David Rowley <drowley@postgresql.org>
2026-10-30 02:31 pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity David Rowley <drowley@postgresql.org>
2026-10-30 02:31 pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity David Rowley <drowley@postgresql.org>
2026-10-30 02:32 pgsql: Remove unwarranted Assert in dependencies_clauselist_selectivity 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