You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has been failing with the following error: › Error: Nonexistent flags: --no-privileges, --no-owner, --clean, › --if-exists, -T, -T, -T › See more help with --help
Have the ability to add pgdump flags been removed?
Thanks!
The text was updated successfully, but these errors were encountered:
Greetings. Confirmed. Version 0.8.0 doesn't accept more than 1 "-T" command. @Eyjafjallajokull this commmand for example: npx pg-anonymizer postgres://"${PROD_POSTGRES_USER}":"${PROD_POSTGRES_PASSWORD}"@"${PROD_POSTGRES_HOST}":5432/"${PROD_POSTGRES_DB}" -- --no-privileges --no-owner --clean --if-exists -T "Changelog" -T "AnotherTable"
Will return the error:
ls/pg-dump.js:14
throw new errors_1.CLIError(`pg_dump command error: ${data.toString()}`);
^
CLIError: pg_dump command error: pg_dump: error: too many command-line arguments (first is "AnotherTable")
Try "pg_dump --help" for more information.
I'm using 0.7.0 (with some command changes and it's working flawlessly)
This command was working great until fairly recently
npx pg-anonymizer postgres://"${PROD_POSTGRES_USER}":"${PROD_POSTGRES_PASSWORD}"@"${PROD_POSTGRES_HOST}":5432/"${PROD_POSTGRES_DB}" --no-privileges --no-owner --clean --if-exists -T "Changelog"
This has been failing with the following error:
› Error: Nonexistent flags: --no-privileges, --no-owner, --clean, › --if-exists, -T, -T, -T › See more help with --help
Have the ability to add pgdump flags been removed?
Thanks!
The text was updated successfully, but these errors were encountered: