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
----------------------------------------------
Wed, 9 Feb 2000 11:30:33 +0100 
=?iso-8859-2?Q?Hor=E1k_Daniel?= <horak@sit.plzen-city.cz>
Small update for WinNT port
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, Pennsylvania 19026

Wed, 9 Feb 2000 11:19:06 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: Small update for WinNT port
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


Thu, 10 Feb 2000 02:14:44 +0100 (CET)
Peter Eisentraut <peter_e@gmx.net>
Re: [HACKERS] Small update for WinNT port