mingw postgresql no prompt

Gavin M2301 <[email protected]> Thu, 9 May 2019 20:21:56 -0400
Newsgroups gmane.comp.db.postgresql.novice
Message-ID <CAHiusViRn7L-E18rjfMFNk-E0281hSTJQcHFdOp6wQ0vZZSTOw@mail.gmail.com>
HI all-

I seem to have the same problem this other person had a long time ago. I
can't execute this in msys2 shell, but it works on windows (cmd) console.

./psql.exe -h localhost -d template1

https://grokbase.com/t/postgresql/pgsql-general/065wpehs5f/no-prompt-in-psql

Please let me know if there is an easy fix that you can think of.

thnx
roboloki