1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| CREATE EXTENSION test_dsa;
| SELECT test_dsa_basic();
| test_dsa_basic
| ----------------
|
| (1 row)
|
| SELECT test_dsa_resowners();
| test_dsa_resowners
| --------------------
|
| (1 row)
|
| -- Test allocations across a pre-defined range of pages. This covers enough
| -- range to check for the case of odd-sized segments, without making the test
| -- too slow.
| SELECT test_dsa_allocate(1001, 2000, 100);
| test_dsa_allocate
| -------------------
|
| (1 row)
|
| -- Larger size with odd-sized segment.
| SELECT test_dsa_allocate(6501, 6600, 100);
| test_dsa_allocate
| -------------------
|
| (1 row)
|
|