mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Attached is a patch with some fixes that (I think that) should go into
6.4.1. Here is the list: - The type int8 now works. In fact, the bug(s) were in src/backend/port/snprintf.c, so int8 is probably broken in every platform that hasn't a native snprintf/vsnprintf. The type itself worked as expected, only the output was wrong. Anyway, this patch should be checked in other platforms. - The regression tests for int2 and int4, which were broken due to differences in the error messages, are fixed. - The regression test for float8, which was broken in the reference platform, is also fixed. I don't know if the new file (float8-OSF1.out) will work on other platforms, but it might be worth to try it. - Two new template files are provided (alpha_cc, which includes optimization, and alpha_gcc), and src/templates/.similar is updated accordingly. src/templates/alpha should be removed from the distribution. *IMPORTANT NOTE*: I don't know if you can use gcc to compile postgres; I've written the alpha_gcc file because alpha_cc has some flags that are specific to DEC C. - There is a (very basic) Digital Unix specific FAQ in doc/FAQ_DigitalUnix. -- ------------------------------------------------------------------- Pedro José Lobo Perea Tel: +34 91 336 78 19
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
alpha-dec-osf=alpha
|
||||
alpha-dec-osf=alpha_cc
|
||||
alpha-unknown-linux-gnu=linux_alpha
|
||||
hppa1.1-hp-hpux=hpux_cc
|
||||
hppa1.1-stratus-sysv4=svr4
|
||||
|
15
src/template/alpha_cc
Normal file
15
src/template/alpha_cc
Normal file
@ -0,0 +1,15 @@
|
||||
AROPT:crs
|
||||
# NOFIXADE disallows unaligned access.
|
||||
# on Ultrix and OSF/1 it invokes an explicit syscall.
|
||||
# on HP-UX it turns off certain compiler options.
|
||||
# This is defined here because a bunch of clients include tmp/c.h,
|
||||
# which is where the work is done on HP-UX. It only affects the
|
||||
# backend on Ultrix and OSF/1.
|
||||
CFLAGS:-DNOFIXADE -std -O4 -Olimit 2000
|
||||
SHARED_LIB:
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
DLSUFFIX:.so
|
||||
YFLAGS:-d
|
||||
YACC:
|
Reference in New Issue
Block a user