Re: [HACKERS] Current 6.3 issues - Mailing list pgsql-hackers

From t-ishii@sra.co.jp
Subject Re: [HACKERS] Current 6.3 issues
Date
Msg-id 199802230328.MAA05893@srapc451.sra.co.jp
Whole thread Raw
In response to Current 6.3 issues  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] Current 6.3 issues  (Tom I Helbekkmo <tih@Hamartun.Priv.NO>)
Re: [HACKERS] Current 6.3 issues  (Michael Meskes <meskes@topsystem.de>)
List pgsql-hackers
>Test big-endian/little-endian operation(Tatsuo?)?

I have tested following platforms: Solairs2.6/Sparc, FreeBSD 2.2.1,
Linux/x86, mklinux/ppc. For the testing, I used authentication method
"trust." Testing tool was psql and the tested command was "\dT." I
have comfirmed any combination of above servers/clients works fine.

BTW I have found some problems with Feb 20 snapshot.  Could you add
followings to 6.3 issues?

1. SunOS 4.1.4:

(1) in include/config.h:

#ifndef HAVE_INET_ATON
# ifdef HAVE_ARPA_INET_H
#  ifdef HAVE_NETINET_IN_H
#   include <sys/types.h> <----- necessary
#   include <netinet/in.h>
#  endif
#  include <arpa/inet.h>
# endif

(2) 6.3 doesn't use -Dsunos4 anymore. However we have such codes as:

#if defined(sunos4)
#define memmove(d, s, l)        bcopy(s, d, l)
#include <unistd.h>
#endif

this leads to compiling errors in various places. Should we use
#if defined(sparc) && !defined(__svr4)
instead?

2. Solaris 2.6:

Seems almost ok except a minor error in ecpg:

gmake[3]: Entering directory `/export/home/local/src/pgsql/pgsql/src/interfaces/ecpg/preproc'
install -c -m 755 ecpg /usr/local/pgsql/bin
gmake[3]: install: Command not found
gmake[3]: *** [install] Error 127

3. mklinux/ppc:
With Bruce's patches now regression tests are ok. Thanks Bruce!

However ecpg seems to have small problem:

make[3]: Entering directory `/usr/local/src/pgsql/6.3/pgsql/src/interfaces/ecpg/preproc'
/usr/bin/bison -y -d preproc.y
"preproc.y", line 235: type redeclaration for S_SIGNED
make[3]: *** [y.tab.c] Error 1

3. Linux/x86:

configure doesn't use linux-elf for the default template even it is an ELF
system. (I have tested on RedHat4.0)

changing line 105 in configure.in as follows would solve the problem.

        GUESS=`grep "^$host_no_ver=" template/.similar 2>/dev/null`
--
Tatsuo Ishii
t-ishii@sra.co.jp

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] SIGSEGV in sebselect.
Next
From: Brett McCormick
Date:
Subject: pl/{perl,pgsql} (was Re: AW: [HACKERS] triggers, views and rules (not instead))