Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 92d70b7

Browse files
committed
Tidy up claimed supported CPUs and OSes.
* Remove arbitrary mention of certain endianness and bitness variants; it's enough to say that applicable variants are expected to work. * List RISC-V (known to work, being tested). * List SuperH and M88K (code exists, unknown status, like M68K). * De-list VAX and remove code (known not to work). * Remove stray trace of Alpha (support was removed years ago). * List illumos, DragonFlyBSD (known to work, being tested). * No need to single Windows out by listing a specific version, when we don't do that for other OSes; it's enough to say that we support current versions of the listed OSes (when 16 ships, that'll be Windows 10+). Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Greg Stark <stark@mit.edu> Discussion: https://postgr.es/m/CA%2BhUKGKk7NZO1UnJM0PyixcZPpCGqjBXW_0bzFZpJBGAf84XKg%40mail.gmail.com
1 parent 21267b6 commit 92d70b7

File tree

3 files changed

+8
-37
lines changed

3 files changed

+8
-37
lines changed

contrib/pgcrypto/crypt-blowfish.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#ifdef __i386__
4242
#define BF_ASM 0 /* 1 */
4343
#define BF_SCALE 1
44-
#elif defined(__x86_64__) || defined(__alpha__) || defined(__hppa__)
44+
#elif defined(__x86_64__) || defined(__hppa__)
4545
#define BF_ASM 0
4646
#define BF_SCALE 1
4747
#else

doc/src/sgml/installation.sgml

+7-6
Original file line numberDiff line numberDiff line change
@@ -2125,18 +2125,19 @@ export MANPATH
21252125

21262126
<para>
21272127
In general, <productname>PostgreSQL</productname> can be expected to work on
2128-
these CPU architectures: x86, x86_64, PowerPC,
2129-
PowerPC 64, S/390, S/390x, Sparc, Sparc 64, ARM, MIPS, MIPSEL,
2130-
and PA-RISC. Code support exists for M68K, M32R, and VAX, but these
2128+
these CPU architectures: x86, PowerPC, S/390, Sparc, ARM, MIPS, RISC-V,
2129+
and PA-RISC, including
2130+
big-endian, little-endian, 32-bit, and 64-bit variants where applicable.
2131+
Code support exists for M68K, M88K, M32R, and SuperH, but these
21312132
architectures are not known to have been tested recently. It is often
21322133
possible to build on an unsupported CPU type by configuring with
21332134
<option>--disable-spinlocks</option>, but performance will be poor.
21342135
</para>
21352136

21362137
<para>
2137-
<productname>PostgreSQL</productname> can be expected to work on these operating
2138-
systems: Linux (all recent distributions), Windows (10 and later),
2139-
FreeBSD, OpenBSD, NetBSD, macOS, AIX, and Solaris.
2138+
<productname>PostgreSQL</productname> can be expected to work on current
2139+
versions of these operating systems: Linux, Windows,
2140+
FreeBSD, OpenBSD, NetBSD, DragonFlyBSD, macOS, AIX, Solaris, and illumos.
21402141
Other Unix-like systems may also work but are not currently
21412142
being tested. In most cases, all CPU architectures supported by
21422143
a given operating system will work. Look in

src/include/storage/s_lock.h

-30
Original file line numberDiff line numberDiff line change
@@ -548,36 +548,6 @@ tas(volatile slock_t *lock)
548548
#endif /* __m88k__ */
549549

550550

551-
/*
552-
* VAXen -- even multiprocessor ones
553-
* (thanks to Tom Ivar Helbekkmo)
554-
*/
555-
#if defined(__vax__)
556-
#define HAS_TEST_AND_SET
557-
558-
typedef unsigned char slock_t;
559-
560-
#define TAS(lock) tas(lock)
561-
562-
static __inline__ int
563-
tas(volatile slock_t *lock)
564-
{
565-
register int _res;
566-
567-
__asm__ __volatile__(
568-
" movl $1, %0 \n"
569-
" bbssi $0, (%2), 1f \n"
570-
" clrl %0 \n"
571-
"1: \n"
572-
: "=&r"(_res), "+m"(*lock)
573-
: "r"(lock)
574-
: "memory");
575-
return _res;
576-
}
577-
578-
#endif /* __vax__ */
579-
580-
581551
#if defined(__mips__) && !defined(__sgi) /* non-SGI MIPS */
582552
#define HAS_TEST_AND_SET
583553

0 commit comments

Comments
 (0)