Closed Nick-Riggs closed 1 year ago
Was getting this error and found the answer here: https://stackoverflow.com/questions/44467272/too-many-command-line-arguments-for-pg-restore
I tested locally making sure the filePath is last and it works as expected.
I left one minor comment. Tomorrow will check with Postgress 14.x and update the version
On Thu, Mar 9, 2023, 19:20 Nick Riggs @.***> wrote:
Was getting this error and found the answer here: https://stackoverflow.com/questions/44467272/too-many-command-line-arguments-for-pg-restore
I tested locally making sure the filePath is last and it works as expected.
— Reply to this email directly, view it on GitHub https://github.com/redwert/pg-dump-restore/pull/3#issuecomment-1462352181, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6YRAHT36TZUAV2XE25VJDW3H7N7ANCNFSM6AAAAAAVVKOVXY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
To prevent the error "Too many command-line arguments for pg_restore"
Per Postgres Doc: Usage: pg_restore [OPTION]... [FILE]