The attached patch fixes a number of issues related to compiling the
authorBruce Momjian <bruce@momjian.us>
Thu, 3 Oct 2002 17:09:42 +0000 (17:09 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 3 Oct 2002 17:09:42 +0000 (17:09 +0000)
commita0bf2503ea0d9a1a2208dd3cf74727bcda7e69d2
treeaa3d6727dc94d4a0c4741077184e7cfcf5cdf709
parentd4eae72513d919522c8711b55894511f4fb49443
The attached patch fixes a number of issues related to compiling the
client
utilities (libpq.dll and psql.exe) for win32 (missing defines,
adjustments to
includes, pedantic casting, non-existent functions) per:
   http://developer.postgresql.org/docs/postgres/install-win32.html.

It compiles cleanly under Windows 2000 using Visual Studio .net. Also
compiles clean and passes all regression tests (regular and contrib)
under Linux.

In addition to a review by the usual suspects, it would be very
desirable for  someone well versed in the peculiarities of win32 to take
a look.

Joe Conway
16 files changed:
src/backend/libpq/md5.c
src/bin/psql/command.c
src/bin/psql/common.c
src/bin/psql/copy.c
src/bin/psql/large_obj.c
src/bin/psql/mbprint.c
src/bin/psql/print.c
src/include/pg_config.h.win32
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-misc.c
src/interfaces/libpq/fe-print.c
src/interfaces/libpq/libpq-int.h
src/interfaces/libpq/libpqdll.def
src/interfaces/libpq/pqexpbuffer.c
src/interfaces/libpq/win32.h
src/utils/Makefile