You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/README_test.md
+4-18Lines changed: 4 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,12 @@
1
1
pg_partman Test Suite
2
2
=====================
3
3
4
-
The pgTAP testing suite is used to provide an extensive and easily maintainable set of unit tests. Please see the pgTAP home page for more details on its installation and use.
4
+
The pgTAP testing suite is used to provide an extensive and easily maintainable set of unit tests. Please see the pgTAP home page for more details on its installation and use.
5
5
6
6
http://pgTAP.org/
7
7
8
+
A minimum version of pgtap 0.99.1 is required for pg_partman's test suite.
9
+
8
10
Tests assume that the required extensions have been installed in the following schemas:
9
11
10
12
pg_partman: partman
@@ -34,20 +36,4 @@ As of version 4.0.0, SECURITY DEFINER is no longer in use by the majority of fun
pgtap currently does not have any tests for natively partitioned tables. The below two functions should be installed to the same schema as pgtap to allow the native partitioning tests to work. Once pgtap adds this support in itself, this will no longer be needed
40
-
41
-
create or replace function has_partition(name, name, text)
42
-
returns text
43
-
language sql
44
-
as $$
45
-
SELECT ok(_rexists('p', $1, $2), $3);
46
-
$$;
47
-
48
-
create or replace function hasnt_partition(name, name, text)
0 commit comments