The improvement for psql of 8.2beta1 not implemented under Windows

Поиск
Список
Период
Сортировка
Искать

The improvement for psql of 8.2beta1 not implemented under Windows

От:
Yourfriend <doudou586@gmail.com>
Дата:

According to the release notes of 8.2, the following item should have been implemented,


E.1.3.11. psql Changes

  • Save multi-line statements as a single entry, rather than one line at a time (Sergey E. Koposov)

    This makes up-arrow recall of queries easier.


The test shows that it's OK under Linux (Slackware),  but malfunctioned on Windows XP.





Daojing.Zhou from P.R.C
http://www.pgsqldb.org/


Re: The improvement for psql of 8.2beta1 not

От:
Bruce Momjian <bruce@momjian.us>
Дата:
Yourfriend wrote:
>  According to the release notes of 8.2, the following item should have been
> implemented,
> 
> E.1.3.11. psqlChanges
> 
>    -
> 
>    Save multi-line statements as a single entry, rather than one line at
>    a time (Sergey E. Koposov)
> 
>    This makes up-arrow recall of queries easier.
> 
> 
> The test shows that it's OK under Linux (Slackware),  but malfunctioned on
> Windows XP.

Good point.  We don't use readline on Win32, but rather the native
command-line control, over which we have little control.  Update release
item text is:
                  Save multi-line statements as a single entry, rather than       one line at a time (Sergey E. Koposov)      
             This makes up-arrow recall of queries easier.  (This is       not availble on Win32 because it typically uses the native       command-line editing present in the operating system.)           

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +

Re: The improvement for psql of 8.2beta1 not

От:
"Joshua D. Drake" <jd@commandprompt.com>
Дата:
Bruce Momjian wrote:
> Yourfriend wrote:
>>  According to the release notes of 8.2, the following item should have been
>> implemented,
>>
>> E.1.3.11. psqlChanges
>>
>>    -
>>
>>    Save multi-line statements as a single entry, rather than one line at
>>    a time (Sergey E. Koposov)
>>
>>    This makes up-arrow recall of queries easier.
>>
>>
>> The test shows that it's OK under Linux (Slackware),  but malfunctioned on
>> Windows XP.
> 
> Good point.  We don't use readline on Win32, but rather the native
> command-line control, over which we have little control. 

Does libedit compile under mingw?


Joshua D. Drake

-- 
  === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240  Providing the most comprehensive  PostgreSQL solutions since 1997            http://www.commandprompt.com/



Re: The improvement for psql of 8.2beta1 not

От:
"Magnus Hagander" <mha@sollentuna.net>
Дата:
> >> The test shows that it's OK under Linux (Slackware),  but 
> >> malfunctioned on Windows XP.
> > 
> > Good point.  We don't use readline on Win32, but rather the native 
> > command-line control, over which we have little control.
> 
> Does libedit compile under mingw?

No. At least, it didn't the last couple of times I've tried it.

//Magnus

Re: The improvement for psql of 8.2beta1 not

От:
"Merlin Moncure" <mmoncure@gmail.com>
Дата:
On 10/8/06, Magnus Hagander  wrote:
> > >> The test shows that it's OK under Linux (Slackware),  but
> > >> malfunctioned on Windows XP.
> > >
> > > Good point.  We don't use readline on Win32, but rather the native
> > > command-line control, over which we have little control.
> >
> > Does libedit compile under mingw?
>
> No. At least, it didn't the last couple of times I've tried it.

I compile psql with cygwin to get the readline version.  Also the
win32 version defatults to pagination with 'more' instead of 'less'.

merlin

FAQ