Bruce Momjian wrote:
>
> >
> > > Seems we can just ignore ^C if a query is not being run. Is that OK
> > > with everyone. Looks easy to do.
> >
> > It would be a trap for new users (some old ones too) who may not know
> > how to escape. longjmp should be easy too, if it works.
>
> If they don't know ^D exits, they really are going to have trouble with
> Unix.
I mean escape from a half-typed in query, not escape from psql
altogether.