1 2 3 4 5 6 7 8 9 10 11 12 13
SELECT NOT(pg_numa_available()) AS skip_test \gset \if :skip_test SELECT COUNT(*) = 0 AS ok FROM pg_shmem_allocations_numa; \quit \endif -- switch to superuser \c - SELECT COUNT(*) >= 0 AS ok FROM pg_shmem_allocations_numa; ok ---- t (1 row)