Thread

  1. Re: failure of \e in psql

    Bruce Momjian <maillist@candle.pha.pa.us> — 1999-11-11T21:51:14Z

    > On 1999-11-11, Bruce Momjian mentioned:
    > 
    > > I see that \e no longer works as expected:
    > > 
    > > 	test=> select * from pg_class;
    > > 	...
    > > 	test=> \e
    > > 
    > > and in the editor, the query is not appearing.  The 'select' query
    > > should appear in the editor because I have not entered a non-backslash
    > > command to clear the query buffer.
    > 
    > Well, once you send it, it's sent and gone. You have to edit it before you
    > send it. I guess I'm not following you. Of course you should somehow be
    > able to re-edit the previous query. Hmm.
    
    That is how it used to work.  You run the query, get an error, and \e
    pulls it into the editor for fixing.
    
    -- 
      Bruce Momjian                        |  http://www.op.net/~candle
      maillist@candle.pha.pa.us            |  (610) 853-3000
      +  If your life is a hard drive,     |  830 Blythe Avenue
      +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026