report for Win32 port - Mailing list pgsql-hackers

From Horak Daniel
Subject report for Win32 port
Date
Msg-id 2E7F82FAC1FCD2118E1500A024B3BF907DECBE@exchange.mmp.plzen-city.cz
Whole thread Raw
Responses Re: [HACKERS] report for Win32 port  (Vince Vielhaber <vev@michvhf.com>)
Re: [HACKERS] report for Win32 port  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Hi,

I have tested current snapshot (from CVS) to compile and run on Windows NT.

It compiles mostly OK. The only problem is with linking the libpq++, but it
can be a general problem:

pgcursordb.o: In function `_8PgCursorRC12PgConnectionPCc':
/usr/src/pgsql.test/src/interfaces/libpq++/pgcursordb.cc:37: undefined
referenceto `PgTransaction::PgTransaction(PgConnection const &)'

and it also need this small patch:
------------- cut here -------------
--- /usr/src/pgsql/src/interfaces/libpq++/Makefile.in    Mon May 24 12:04:49
1999
+++ src/interfaces/libpq++/Makefile.in    Wed May 26 15:29:05 1999
@@ -44,7 +44,11 @@OBJS = pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o 
+ifeq ($(PORTNAME), win)
+SHLIB_LINK+= --driver-name g++ -L../libpq -lpq
+elseSHLIB_LINK= -L../libpq -lpq
+endif# Shared library stuff, also default 'all' targetinclude $(SRCDIR)/Makefile.shlib
------------- cut here -------------

Here is current regress.out:
int2 .. failed
int4 .. failed
float8 .. failed
geometry .. failed
-> these are unimportant (libc messages, precision)

datetime .. failed
abstime .. failed
tinterval .. failed
horology .. failed
-> it seems so that there are only differences in strings for timezones
there

random .. failed
*** expected/random.out Wed May 26 13:05:47 1999
--- results/random.out  Wed May 26 15:04:57 1999
***************
*** 19,23 ****   WHERE random NOT BETWEEN 80 AND 120; random ------
! (0 rows)

--- 19,24 ----   WHERE random NOT BETWEEN 80 AND 120; random ------
!    123
! (1 row)


rules .. failed
-> different order of some lines (unimportant)

The remaining test are OK.
        Dan

PS: Change my name in the doc/src/sgml/ports.sgml from "Horak Daniel" to
"Daniel Horak", please.

----------------------------------------------
Daniel Horak
network and system administrator
e-mail: horak@mmp.plzen-city.cz
privat e-mail: dan.horak@email.cz ICQ:36448176
----------------------------------------------


pgsql-hackers by date:

Previous
From: Peter T Mount
Date:
Subject: Memory leak in large objects (was Re: Postgreqsl Large Objects)
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] strange behavior of UPDATE