Justin Clift wrote: > Dan Langille wrote: > <snip> > > As this is changing existing behaviour, I think adding an optional > > switch to revert to the old behaviour is a good idea. > > Two thoughts: > > a) Is it possible to change the behavior of the history as we're > discussing? Haven't heard Peter's response to this. > > b) Do we really want to go to the effort of adding a switch to revert to > previous behaviour for something like this? It's almost definitely a > win to have \e commands appear in the history, and seems a bit to > trivial for adding switches for.
Let's suppose I am writing a query, and then I do \e to edit the query, and I exit the editor and return to psql. Suppose I decide I want to reedit, so I up arrow. I would expect to get \e, not the query I just edited, no? -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster