mirror of
https://github.com/clearlinux/official-images.git
synced 2026-10-04 07:48:51 +00:00
Add test for postgres llvm
This commit is contained in:
@@ -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' ]
|
||||
|
||||
Reference in New Issue
Block a user