bugs in version 6.5

Massimo Dal Zotto <dz@cs.unitn.it>

From: Massimo Dal Zotto <dz@cs.unitn.it>
To: hackers@postgreSQL.org (PostgreSQL Hackers), pgsql-patches@postgreSQL.org (Pgsql Patches), maillist@candle.pha.pa.us
Date: 1999-06-04T21:37:53Z
Lists: pgsql-hackers

Attachments

Hi Hackers,

I found some bugs in the latest snapshot (dated 19990606). I had some
compilation errors which I have fixed with the following patches:

ecpg.patch (wrong makefile expansion in some cases)

	the ecpg Makefiles use a variable DESTDIR which is never defined
	except by debian/rules makefile, in which case the ecpg makefiles
	expand wrong pathnames. If we want to support a DESTDIR root it
	must be done consistently in all the makefiles, not just in ecpg.

man.patch (make inconsistency)

	the default target is 'install' instead of 'all'. So if you do a
	make without target you actually do a make install, which is not
	what one normally expects from a standard makefile.

postgres.patch (compilation error)

	in postgres.c someone changed TRACE_PLAN to TRACE_PRETTY_PLAN
	which is not defined anywhere. Seems unfinished work in progress.

trace.patch (compilation error)

	the gettimeofday doesn't compile under Linux with glibc2 because
	the DST_NONE constant is no more defined. It seems that this code
	(written by me) has always be wrong but for some reason working.

-- 
Massimo Dal Zotto

+----------------------------------------------------------------------+
|  Massimo Dal Zotto               email: dz@cs.unitn.it               |
|  Via Marconi, 141                phone: ++39-0461534251              |
|  38057 Pergine Valsugana (TN)      www: http://www.cs.unitn.it/~dz/  |
|  Italy                             pgp: finger dz@tango.cs.unitn.it  |
+----------------------------------------------------------------------+