summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorAndres Freund2018-03-22 02:28:28 +0000
committerAndres Freund2018-03-22 02:28:28 +0000
commit432bb9e04da4d4a1799b1fe7c723b975cb070c43 (patch)
tree72e1dbf4e401521109fe1081aac4c4c6d28a034f /src/tools
parent4317cc68a284f041abc583ced4ef7ede2f73fb51 (diff)
Basic JIT provider and error handling infrastructure.
This commit introduces: 1) JIT provider abstraction, which allows JIT functionality to be implemented in separate shared libraries. That's desirable because it allows to install JIT support as a separate package, and because it allows experimentation with different forms of JITing. 2) JITContexts which can be, using functions introduced in follow up commits, used to emit JITed functions, and have them be cleaned up on error. 3) The outline of a LLVM JIT provider, which will be fleshed out in subsequent commits. Documentation for GUCs added, and for JIT in general, will be added in later commits. Author: Andres Freund, with architectural input from Jeff Davis Discussion: https://postgr.es/m/20170901064131.tazjxwus3k2w3ybh@alap3.anarazel.de
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/pgindent/exclude_file_patterns1
-rw-r--r--src/tools/pgindent/typedefs.list3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/pgindent/exclude_file_patterns b/src/tools/pgindent/exclude_file_patterns
index cb2f902a90f..65c42c131d0 100644
--- a/src/tools/pgindent/exclude_file_patterns
+++ b/src/tools/pgindent/exclude_file_patterns
@@ -5,3 +5,4 @@
/ecpg/test/expected/
/snowball/libstemmer/
/pl/plperl/ppport\.h$
+/jit/llvmjit\.h$
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list
index d4765ce3b01..543cb17e410 100644
--- a/src/tools/pgindent/typedefs.list
+++ b/src/tools/pgindent/typedefs.list
@@ -1055,6 +1055,8 @@ IterateForeignScan_function
IterateJsonStringValuesState
JEntry
JHashState
+JitContext
+JitProviderCallbacks
JOBOBJECTINFOCLASS
JOBOBJECT_BASIC_LIMIT_INFORMATION
JOBOBJECT_BASIC_UI_RESTRICTIONS
@@ -1099,6 +1101,7 @@ LDAPMessage
LDAPURLDesc
LDAP_TIMEVAL
LINE
+LLVMJitContext
LOCALLOCK
LOCALLOCKOWNER
LOCALLOCKTAG