Thread: psql command setting

psql command setting

From
Simon Riggs
Date:
Recent patch allowed \timing [on|off]

This patch allows same option on all remaining toggles, so every option
works in the same way. We now have the ability to do
\a [on|off]
\H [on|off]

Patch also corrects help, which didn't show that \x and \t could already
be directly set, even though help said they were toggles.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support

Attachment

Re: psql command setting

From
Tom Lane
Date:
Simon Riggs <simon@2ndquadrant.com> writes:
> Recent patch allowed \timing [on|off]
> This patch allows same option on all remaining toggles, so every option
> works in the same way.

We already discussed that and rejected it, because the remaining toggles
aren't really toggles.

            regards, tom lane

Re: psql command setting

From
Simon Riggs
Date:
On Sat, 2008-07-05 at 11:24 -0400, Tom Lane wrote:

> the remaining toggles aren't really toggles.

If it *acts* like a toggle and the help *says* its a toggle, then its
"actual toggleness" seems moot.

At the very least we should document the two toggles that are already
settable, with the attached patch.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support

Attachment

Re: psql command setting

From
Alvaro Herrera
Date:
Simon Riggs wrote:

> At the very least we should document the two toggles that are already
> settable, with the attached patch.

Applied.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.