Re: Concurrent psql patch - Mailing list pgsql-patches

From Gregory Stark
Subject Re: Concurrent psql patch
Date
Msg-id 87odko7dwh.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: Concurrent psql patch  (David Fetter <david@fetter.org>)
Responses Re: Concurrent psql patch
List pgsql-patches
"David Fetter" <david@fetter.org> writes:

>> I was originally thinking \c1, \c2, ... for \cswitch and \c& for
>> \cnowait. I'm not sure if going for cryptic short commands is better
>> or worse here.
>
> +1 for \c1, \c2, etc.
>
> What's the reasoning behind \c&?  Does it "send things into the
> background" the way & does in the shell?

Sort of. It sends the *subsequent* command to the background... And unlike the
shell you can't usefully do anything more in the current session while the
command is in the background, you have to manually switch sessions before
issuing subsequent commands.

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


pgsql-patches by date:

Previous
From: Greg Smith
Date:
Subject: Re: Automatic adjustment of bgwriter_lru_maxpages
Next
From: David Fetter
Date:
Subject: OS/X startup scripts