Yet, principle of least surprise. What is more surprising, Ctrl+D working or quit/exit not working? Maybe I am an outlier but I would try exit/quit/bye first.
[1] The 0.01% of the time was when I was testing out using Windows for software dev. I don't remember but I don't think Ctrl + D works there.
I think it worked in powershell however, can't test right now though
Also: chromeos is Linux. It's a safe bet they'll support standard signals
Not sure about for PostgreSQL in cmd off the top of my head (posting from my phone). I suspect because I got down voted that it may not work there.
It seems like a reasonable set of conclusions to draw, which makes ctrl-d indeed the most obvious thing to try.
Also ‘exit’ works in bash.