I have multiple dump files and want to restore them with single command. something like this
pg_restore -h localhost -p 5432 -U postgres -d gl_election gl_world gl_tourism -c "gl_election" "gl_world" "gl_tourism"
This command doesn't work and I can't find how to do it correctly. It works fine for one file.