Thread

  1. BUG #1348: Wishlist: \pset expanded with value

    PostgreSQL Bugs List <pgsql-bugs@postgresql.org> — 2004-12-14T05:11:31Z

    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
    
    
    
  2. Re: BUG #1348: Wishlist: \pset expanded with value

    Bruce Momjian <pgman@candle.pha.pa.us> — 2004-12-19T04:36:02Z

    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