diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-07-22 14:11:17 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-07-22 15:08:10 +1200 |
commit | b1c1b7af573bbc9fe9039c82ffb7d3a3c378fe4a (patch) | |
tree | 9db8bdd5423385021ce21d65b5ae5ac891353970 /src/backend/utils/adt/timestamp.c | |
parent | 227c4e57d6a70961e015ed4185facfc638afd048 (diff) | |
download | postgresql-b1c1b7af573bbc9fe9039c82ffb7d3a3c378fe4a.tar.gz postgresql-b1c1b7af573bbc9fe9039c82ffb7d3a3c378fe4a.zip |
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
Diffstat (limited to 'src/backend/utils/adt/timestamp.c')
0 files changed, 0 insertions, 0 deletions