From 3366dd58d7a5bfc0cb976cc692ff38e191f6100b Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Fri, 12 May 2023 11:41:50 -0700 Subject: [PATCH] Add test for postgres llvm --- test/tests/postgres-basics/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/tests/postgres-basics/run.sh b/test/tests/postgres-basics/run.sh index 2706bc6ea..f71eb091d 100755 --- a/test/tests/postgres-basics/run.sh +++ b/test/tests/postgres-basics/run.sh @@ -42,3 +42,7 @@ echo 'DELETE FROM test WHERE a = 1' | psql [ "$(echo 'SELECT COUNT(*) FROM test' | psql)" = 1 ] [ "$(echo 'SELECT c FROM test' | psql)" = 'goodbye!' ] echo 'DROP TABLE test' | psql + +# test jit support to ensure llvm lib is correct +# SET jit = on; is required for postgres 11; on 12+ it is on by default +[ "$(echo 'SET jit = on; SELECT pg_jit_available();' | psql)" = 't' ]