dataegret / pgcompacttable

BSD 3-Clause "New" or "Revised" License
314 stars 48 forks source link

Exclude db doesn't work ? #23

Closed nenominal closed 5 years ago

nenominal commented 5 years ago

pgcompacttable -a -D test -U postgres

Unknown option: D Usage: pgcompacttable [OPTION...]

General options:
    [-?mV] [(-q | -v LEVEL)]

Connection options:
    [-h HOST] [-p PORT] [-U USER] [-W PASSWD] [-P PATH]

Targeting options:
    (-a | -d DBNAME...) [-n SCHEMA...] [-t TABLE...] [-D DBNAME...] [-N
    SCHEMA...] [-T TABLE...]

pgcompacttable -a --exclude-dbname test -U postgres Unknown option: exclude-dbname Usage: pgcompacttable [OPTION...]

General options:
    [-?mV] [(-q | -v LEVEL)]

Connection options:
    [-h HOST] [-p PORT] [-U USER] [-W PASSWD] [-P PATH]

Targeting options:
    (-a | -d DBNAME...) [-n SCHEMA...] [-t TABLE...] [-D DBNAME...] [-N
    SCHEMA...] [-T TABLE...]
Melkij commented 5 years ago

Hi hmm... Interesting. AFAIK we never had --exclude-dbname option. I will remove this from help.

nenominal commented 5 years ago

Can I pass to --dbname multiple db or do I have to run it individually for each db?

Melkij commented 5 years ago

Its possible only by run individually for each db. --dbname accepts only one db name