Thread: BUG #1348: Wishlist: \pset expanded with value

BUG #1348: Wishlist: \pset expanded with value

From
"PostgreSQL Bugs List"
Date:
The following bug has been logged online:

Bug reference:      1348
Logged by:          Brad Bowman

Email address:      pg@bereft.net

PostgreSQL version: 7.2.1

Operating system:   Debian linux

Description:        Wishlist: \pset expanded with value

Details:


I hope this is an appropriate forum for this request.
Apologies if I got it wrong.

Within psql:
 \pset expanded 1

ignores the value parameter, as expected from
the documentation.  This means that I can't set it
to a known value in scripts run with \i.


Thanks

Re: BUG #1348: Wishlist: \pset expanded with value

From
Bruce Momjian
Date:
I see your problem.  Added to TODO:

* Allow psql \pset boolean variables to set to fixed values, rather than
  toggle


---------------------------------------------------------------------------

PostgreSQL Bugs List wrote:
>
> The following bug has been logged online:
>
> Bug reference:      1348
> Logged by:          Brad Bowman
>
> Email address:      pg@bereft.net
>
> PostgreSQL version: 7.2.1
>
> Operating system:   Debian linux
>
> Description:        Wishlist: \pset expanded with value
>
> Details:
>
>
> I hope this is an appropriate forum for this request.
> Apologies if I got it wrong.
>
> Within psql:
>  \pset expanded 1
>
> ignores the value parameter, as expected from
> the documentation.  This means that I can't set it
> to a known value in scripts run with \i.
>
>
> Thanks
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073