On ARM platforms where the baseline CPU target lacks CRC instructions, we need to supply a -march flag to persuade the compiler to compile such instructions. It turns out that our existing choice of "-march=armv8-a+crc" has not worked for some time, because recent gcc will interpret that as selecting software floating point, and then will spit up if the platform requires hard-float ABI, as most do nowadays. The end result was to silently fall back to software CRC, which isn't very desirable since in practice almost all currently produced ARM chips do have hardware CRC. We can fix this by using "-march=armv8-a+crc+simd" to enable the correct ABI choice. (This has no impact on the code actually generated, since neither of the files we compile with this flag does any floating-point stuff, let alone SIMD.) Keep the test for "-march=armv8-a+crc" since that's required for soft-float ABI, but try that second since most platforms we're likely to build on use hard-float. Since this isn't working as-intended on the last several years' worth of gcc releases, back-patch to all supported branches. Discussion: https://postgr.es/m/4496616.iHFcN1HehY@portable-bastien |
2 years ago | |
|---|---|---|
| config | jit: Remove {llvm-config,clang}-N configure probes. | 2 years ago |
| contrib | Count contrib/bloom index scans in pgstat view. | 2 years ago |
| doc | Doc: Clarify the `inactive_since` field description. | 2 years ago |
| src | Add support for Tcl 9 | 2 years ago |
| .cirrus.star | Remove duplicate words in docs and code comments. | 3 years ago |
| .cirrus.tasks.yml | ci: Pin MacPorts version to 2.9.3. | 2 years ago |
| .cirrus.yml | ci: Make compute resources for CI configurable | 3 years ago |
| .dir-locals.el |
…
|
|
| .editorconfig |
…
|
|
| .git-blame-ignore-revs |
Add commit 7229ebe011 to .git-blame-ignore-revs.
|
2 years ago |
| .gitattributes | Remove non-existing file from .gitattributes | 2 years ago |
| .gitignore | Update top-level .gitignore. | 4 years ago |
| COPYRIGHT | Update copyright for 2024 | 2 years ago |
| GNUmakefile.in | Allow selecting the git revision to be packaged by "make dist". | 2 years ago |
| HISTORY | Canonicalize some URLs | 6 years ago |
| Makefile | Adapt REL_17_STABLE to its new status as a stable branch | 2 years ago |
| README.md | Adapt REL_17_STABLE to its new status as a stable branch | 2 years ago |
| aclocal.m4 | autoconf: Move export_dynamic determination to configure | 4 years ago |
| configure | Update configure probes for CFLAGS needed for ARM CRC instructions. | 2 years ago |
| configure.ac | Update configure probes for CFLAGS needed for ARM CRC instructions. | 2 years ago |
| meson.build | Update configure probes for CFLAGS needed for ARM CRC instructions. | 2 years ago |
| meson_options.txt | Allow selecting the git revision to be packaged by "make dist". | 2 years ago |
README.md
PostgreSQL Database Management System
This directory contains the source code distribution of the PostgreSQL database management system.
PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions. This distribution also contains C language bindings.
Copyright and license information can be found in the file COPYRIGHT.
General documentation about this version of PostgreSQL can be found at https://www.postgresql.org/docs/17/. In particular, information about building PostgreSQL from the source code can be found at https://www.postgresql.org/docs/17/installation.html.
The latest version of this software, and related software, may be obtained at https://www.postgresql.org/download/. For more information look at our web site located at https://www.postgresql.org/.