The improvement for psql of 8.2beta1 not implemented under Windows
According to the release notes of 8.2, the following item should have been
implemented,
E.1.3.11. psql<http://developer.postgresql.org/pgdocs/postgres/app-psql.html>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/
Yourfriend wrote:
According to the release notes of 8.2, the following item should have been
implemented,E.1.3.11. psql<http://developer.postgresql.org/pgdocs/postgres/app-psql.html>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.
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:
<listitem>
<para>
Save multi-line statements as a single entry, rather than
one line at a time (Sergey E. Koposov)
</para>
<para>
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.)
</para>
</listitem>
--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Bruce Momjian wrote:
Yourfriend wrote:
According to the release notes of 8.2, the following item should have been
implemented,E.1.3.11. psql<http://developer.postgresql.org/pgdocs/postgres/app-psql.html>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.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/
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
On 10/8/06, Magnus Hagander <mha@sollentuna.net> 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