Обсуждение: The improvement for psql of 8.2beta1 not implemented under Windows
<h3><a name="10e25e729cfd2722_AEN78465"></a></h3><h3><a name="10e25e729cfd2722_AEN78465"></a></h3><h3><a name="10e25e729cfd2722_AEN78465"></a></h3><h3><aname="10e25e729cfd2722_AEN78465"></a></h3><h3><span style="font-weight: normal;">According to the release notes of 8.2, the following item should have been implemented, <br /></span></h3><br /><h3><aname="10e25e729cfd2722_AEN78465">E.1.3.11. </a><a href="http://developer.postgresql.org/pgdocs/postgres/app-psql.html"target="_blank"> <span>psql</span></a> Changes</h3><ul><li><p>Save multi-line statements as a single entry, rather than one line at a time (Sergey E. Koposov) <p>This makes up-arrow recall of queries easier. </ul><br />The test shows that it's OK under Linux (Slackware), but malfunctionedon Windows XP.<br /><br /><br /><br /><br /><br />Daojing.Zhou from P.R.C<br /><a href="http://www.pgsqldb.org/">http://www.pgsqldb.org/</a><br/><br /><br />
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 (SergeyE. Koposov) </para> <para> This makes up-arrow recall of queries easier. (This is not availble on Win32 because it typicallyuses 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 solutionssince 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