From: Magnus Hagander <mha@edu.sollentuna.se>

Marc G. Fournier <scrappy@hub.org>

Commit: 602ac52d3ee453158c16b655835379c9a110f095
Author: Marc G. Fournier <scrappy@hub.org>
Date: 1998-08-27T13:25:40Z
Releases: 7.1.1
From: Magnus Hagander <mha@edu.sollentuna.se>

Ok. Here is a patch to make psql work on Win32 (as a console mode
application, of course).
It requires getopt.c to be in src/utils - works fine with the FreeBSD
version of it.

Also, the file win32.mak should go into src/bin/psql.

Files

PathChange+/−
src/bin/psql/psql.c modified +40 −3
src/bin/psql/win32.mak added +64 −0
src/utils/getopt.c added +117 −0
src/win32.mak modified +2 −0