diff options
author | Andres Freund | 2014-06-28 19:40:40 +0000 |
---|---|---|
committer | Andres Freund | 2014-06-28 19:46:15 +0000 |
commit | a6d488cb538c8761658f0f7edfc40cecc8c29f2d (patch) | |
tree | 4c4850de88cb668fe883b14dde4715df9fca2b5f /src/backend/main/main.c | |
parent | d222585a9f7a18f2d793785c82be4c877b90c461 (diff) |
Remove Alpha and Tru64 support.
Support for running postgres on Alpha hasn't been tested for a long
while. Due to Alpha's uniquely lax cache coherency model it's a hard
to develop for platform (especially blindly!) and thought to be
unlikely to currently work correctly.
As Alpha is the only supported architecture for Tru64 drop support for
it as well. Tru64's support has ended 2012 and it has been in
maintenance-only mode for much longer.
Also remove stray references to __ksr__ and ultrix defines.
Diffstat (limited to 'src/backend/main/main.c')
-rw-r--r-- | src/backend/main/main.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c index c6fb8c9fbe5..c1116e0f15d 100644 --- a/src/backend/main/main.c +++ b/src/backend/main/main.c @@ -22,14 +22,6 @@ #include <unistd.h> -#if defined(__alpha) && defined(__osf__) /* no __alpha__ ? */ -#include <sys/sysinfo.h> -#include "machine/hal_sysinfo.h" -#define ASSEMBLER -#include <sys/proc.h> -#undef ASSEMBLER -#endif - #if defined(__NetBSD__) #include <sys/param.h> #endif @@ -245,27 +237,6 @@ static void startup_hacks(const char *progname) { /* - * On some platforms, unaligned memory accesses result in a kernel trap; - * the default kernel behavior is to emulate the memory access, but this - * results in a significant performance penalty. We want PG never to make - * such unaligned memory accesses, so this code disables the kernel - * emulation: unaligned accesses will result in SIGBUS instead. - */ -#ifdef NOFIXADE - -#if defined(__alpha) /* no __alpha__ ? */ - { - int buffer[] = {SSIN_UACPROC, UAC_SIGBUS | UAC_NOPRINT}; - - if (setsysinfo(SSI_NVPAIRS, buffer, 1, (caddr_t) NULL, - (unsigned long) NULL) < 0) - write_stderr("%s: setsysinfo failed: %s\n", - progname, strerror(errno)); - } -#endif /* __alpha */ -#endif /* NOFIXADE */ - - /* * Windows-specific execution environment hacking. */ #ifdef WIN32 |