Обсуждение: Small update for WinNT port
Hi,
I checked the WinNT port yesterday (a few days old snapshot from CVS) and I
am including a patch to get it compile.
changes to psql:
- added less as default pager when compiling on Cygwin
- need to declare "filename_completion_function" because it is not exported
from readline -> added to include/port/win.h
changes to pg_id:
- include of <getopt.h>
- add .exe when installing
I think there is a problem with calling the regress tests on WinNT - it
should be called with PORTNAME not HOST as the parameter to regress.sh or
the check when to add "-h localhost" to psql has to be changed. Now it is
checked against the PORTNAME.
The results of the regress tests were OK with expected failures ;-)
Dan
----------------------------------------------
Daniel Horak
network and system administrator
e-mail: horak@sit.plzen-city.cz
privat e-mail: dan.horak@email.cz ICQ:36448176
----------------------------------------------
Вложения
Applied. [Charset iso-8859-2 unsupported, filtering to ASCII...] > Hi, > > I checked the WinNT port yesterday (a few days old snapshot from CVS) and I > am including a patch to get it compile. > > changes to psql: > - added less as default pager when compiling on Cygwin > - need to declare "filename_completion_function" because it is not exported > from readline -> added to include/port/win.h > > changes to pg_id: > - include of <getopt.h> > - add .exe when installing > > I think there is a problem with calling the regress tests on WinNT - it > should be called with PORTNAME not HOST as the parameter to regress.sh or > the check when to add "-h localhost" to psql has to be changed. Now it is > checked against the PORTNAME. > > The results of the regress tests were OK with expected failures ;-) > > Dan > > > ---------------------------------------------- > Daniel Horak > network and system administrator > e-mail: horak@sit.plzen-city.cz > privat e-mail: dan.horak@email.cz ICQ:36448176 > ---------------------------------------------- > > [Attachment, skipping...] -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
On 2000-02-09, Horák Daniel mentioned: > changes to psql: > - added less as default pager when compiling on Cygwin Is there no "more"? > - need to declare "filename_completion_function" because it is not exported > from readline -> added to include/port/win.h I would think this is more of a readline problem, or does cygwin come with its only readline edition? What readline version are you using? -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden