-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Software versions:
PostgreSQL - 15.2 (pg_hba.conf set to "trust" to eliminate password requirement)
GNU bash, version 5.1.16(1)-release (x86_64-pc-msys)
All of this is running on Windows 11.
Problem:
Bash fails to run any of the psql wrapper commands, like "createdb" or "dropdb" resulting in a new line in bash but no return to add another prompt or command. Basically it just creates a new line without the $ or ~ to execute something new.
When executing the ./runme.sh, bash will get stuck on the first command of creating a new database and remain there. When running through windows power shell, the commands to create a new database and output folder work correctly, but no files are returned in that folder. Running psql ccd_stats -f import_ccd_districts.sql; independently in the command line results in:
psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: role "-f" does not exist.