Re: Concurrent psql patch - Mailing list pgsql-patches

From Gregory Stark
Subject Re: Concurrent psql patch
Date
Msg-id 87lkfrb9kd.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: Concurrent psql patch  ("Jim C. Nasby" <decibel@decibel.org>)
Responses Re: Concurrent psql patch  ("Jim C. Nasby" <decibel@decibel.org>)
List pgsql-patches
"Jim C. Nasby" <decibel@decibel.org> writes:

> Since this command will be getting used very frequently by anyone using
> concurrent connections interactively, it'd be nice if it was lower-case.
> It looks like that limits us to j, k, m, n, v, and y.  In unix this idea
> is about jobs, what about using \j?

Well currently it's not really terribly interesting to use interactively since
you could always just start a second shell and run a second instance of psql.
I really only have regression tests in mind for it. That's why I don't find it
a problem at all to only extend \g and not semicolon handling.

That said, I think a next step for this for interactive use would be to handle
C-z to "background" the currently running query. So perhaps it does make sense
to keep use cases like that when deciding on command names now.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [GENERAL] dropping role w/dependent objects
Next
From: David Fetter
Date:
Subject: Re: [DOCS] OS/X startup scripts