postgresql/src/backend
Thomas Munro 0207d5fbeb jit: Don't inline functions that access thread-locals.
Code inlined by LLVM can crash or fail with "Relocation type not
implemented yet!" if it tries to access thread local variables.  Don't
inline such code.

Back-patch to 11, where LLVM arrived.  Bug #16696.

Author: Dmitry Marakasov <amdmi3@amdmi3.ru>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/16696-29d944a33801fbfe@postgresql.org
2021-07-22 15:02:18 +12:00
..
access Make XLOG_FPI_FOR_HINT records honor full_page_writes setting. 2021-07-21 11:19:00 +09:00
bootstrap Rethink definition of pg_attribute.attcompression. 2021-05-27 13:24:27 -04:00
catalog More improvements of error messages about mismatching relkind 2021-07-21 07:52:10 +02:00
commands Use l*_node() family of functions where appropriate 2021-07-19 08:20:24 +02:00
executor Make nodeSort.c use Datum sorts for single column sorts 2021-07-22 14:03:19 +12:00
foreign Update copyright for 2021 2021-01-02 13:06:25 -05:00
jit jit: Don't inline functions that access thread-locals. 2021-07-22 15:02:18 +12:00
lib Fix typo in comment 2021-04-20 14:35:16 +02:00
libpq Add more sanity checks in SASL exchanges 2021-07-10 21:45:28 +09:00
main Update copyright for 2021 2021-01-02 13:06:25 -05:00
nodes Rename some node support functions for consistency 2021-07-21 10:24:06 +02:00
optimizer Use l*_node() family of functions where appropriate 2021-07-19 08:20:24 +02:00
parser Use l*_node() family of functions where appropriate 2021-07-19 08:20:24 +02:00
partitioning Use l*_node() family of functions where appropriate 2021-07-19 08:20:24 +02:00
po Translation updates 2021-06-21 12:33:50 +02:00
port Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
postmaster Remove unnecessary assertion in postmaster.c 2021-07-15 15:00:45 +09:00
regex Fix performance issue in new regex match-all detection code. 2021-05-03 11:42:31 -04:00
replication Fix potential buffer overruns in proto.c. 2021-07-20 08:15:01 +05:30
rewrite Use l*_node() family of functions where appropriate 2021-07-19 08:20:24 +02:00
snowball Update snowball 2021-02-19 08:10:15 +01:00
statistics Error message refactoring 2021-06-27 09:41:16 +02:00
storage Don't use #if inside function-like macro arguments. 2021-07-20 11:19:13 +12:00
tcop Use l*_node() family of functions where appropriate 2021-07-19 08:20:24 +02:00
tsearch Improve various places that double the size of a buffer 2021-07-01 15:29:06 +12:00
utils Document "B" and "us" as accepted units in postgres.conf.sample 2021-07-21 10:17:07 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Use sort_template.h for qsort_tuple() and qsort_ssup(). 2021-03-03 17:02:32 +13:00
nls.mk Translation updates 2021-05-10 14:36:21 +02:00