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:07:29 +1200 |
commit | b2f759e35f7598ee36d68283a9fd8e9219e11441 (patch) | |
tree | 5fab62692b168210a00187c65e338c64e5cc250a /contrib/postgres_fdw/option.c | |
parent | 4b39d5c69a67caebe648ce4c32083f162bd239e1 (diff) | |
download | postgresql-b2f759e35f7598ee36d68283a9fd8e9219e11441.tar.gz postgresql-b2f759e35f7598ee36d68283a9fd8e9219e11441.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 'contrib/postgres_fdw/option.c')
0 files changed, 0 insertions, 0 deletions