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 <[email protected]>
Reviewed-by: David Rowley <[email protected]>
Discussion: 
https://postgr.es/m/pn0p287mb0903563c70d8e5b81912e855a7...@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(-)

Reply via email to