2 ms·
Anyone using psql should be familiar with bash. Anyone using bash should be familiar with readline. Anyone familiar with readline should instantly recognize psq
by TheDong 8y ago
Anyone using psql should be familiar with bash. Anyone using bash should be familiar with readline. Anyone familiar with readline should instantly recognize psql as being a readline input.
It seems like a reasonable set of conclusions to draw, which makes ctrl-d indeed the most obvious thing to try.
- mad_hominem 8y agoI don’t think this follows. I’ve been at multiple prompts that look like readline but aren’t. Also ‘exit’ works in bash.
- jorams 8y agoCtrl + D works just fine without readline as well, so you don't even need that conclusion.