| 1 |
Test extensions and libraries |
| 2 |
============================= |
| 3 |
|
| 4 |
src/test/modules contains PostgreSQL extensions that are primarily or entirely |
| 5 |
intended for testing PostgreSQL and/or to serve as example code. The extensions |
| 6 |
here aren't intended to be installed in a production server and aren't suitable |
| 7 |
for "real work". |
| 8 |
|
| 9 |
Furthermore, while you can do "make install" and "make installcheck" in |
| 10 |
this directory or its children, it is NOT ADVISABLE to do so with a server |
| 11 |
containing valuable data. Some of these tests may have undesirable |
| 12 |
side-effects on roles or other global objects within the tested server. |
| 13 |
"make installcheck-world" at the top level does not recurse into this |
| 14 |
directory. |
| 15 |
|
| 16 |
Most extensions have their own pg_regress tests or isolationtester specs. Some |
| 17 |
are also used by tests elsewhere in the tree. |
| 18 |
|
| 19 |
If you're adding new hooks or other functionality exposed as C-level API this |
| 20 |
is where to add the tests for it. |