Thread

  1. Re: psql and readline

    Peter Mount <peter@retep.org.uk> — 2003-01-10T07:15:34Z

    On Thu, 9 Jan 2003, Peter Eisentraut wrote:
    
    > Tom Lane writes:
    > 
    > > The case I find interesting is where you're using plain "\e" to
    > > re-edit a query interactively.  If this query never gets into the
    > > history buffer then you're lost: you won't be able to pull it back
    > > for re-editing a second time.
    > 
    > If you call \e again immediately then you edit the previous command.
    
    Yes, but it's not always the last command you want :-(
    
    Peter
    
    -- 
    Peter Mount
    peter@retep.org.uk
    http://www.retep.org.uk/
     Tel/Fax: +44 (0) 1622 749439
      Mobile: +44 (0) 7903 155887
      US Fax: 1 435 304 5165
    US Voice: 1 435 304 5165