pgsql: vacuumdb: Fix excluding multiple schemas with -N

2023-09-25 Thread Daniel Gustafsson
vacuumdb: Fix excluding multiple schemas with -N When specifying multiple schemas to exclude with -N parameters, none of the schemas are actually excluded (a single -N worked as expected). This fixes the catalog query to handle multiple exclusions and adds a test for this case. Backpatch to v16 w

pgsql: vacuumdb: Fix excluding multiple schemas with -N

2023-09-25 Thread Daniel Gustafsson
vacuumdb: Fix excluding multiple schemas with -N When specifying multiple schemas to exclude with -N parameters, none of the schemas are actually excluded (a single -N worked as expected). This fixes the catalog query to handle multiple exclusions and adds a test for this case. Backpatch to v16 w