I tried to make a backup of a database from Git Bash environment, but the executable does not output anything.
If I specify the filename using the -f flag, a blank file gets created, so the executable obviously runs, but it does not do anything - there is no output or activity. Using the -v flag also does not make it produce any output.
If I run pg_dump --help, I do get output though.
When I do the same from a Windows command line, I am asked for a password and the dump proceeds fine.
What is different about the Git Bash environment that pg_dump does not work there? Is there any workaround? I prefer to stay out of the Windows command line if at all possible.