Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
-- ----------------------------------------------------------------------
-- Autonomous storage layer: create/open, read/write, journal
-- ----------------------------------------------------------------------
-- The read_record_size_guard case deliberately corrupts a .cfsmap entry;
-- silence the resulting WARNINGs so the expected output stays deterministic.
SET client_min_messages = error;
SELECT count(*) AS storage_failures
FROM cfs_run_storage_tests()
WHERE result <> 'ok';
 
SELECT test_name, result, detail
FROM cfs_run_storage_tests()
ORDER BY test_name;