Repository with PostgreSQL example extensions mostly used for testing. It contains experiments on permission handling and extensions, some tests on how to use internal functions and how to accomplish different results, and example solutions for how to solve particular problems.
To build, install, and run tests
make
[sudo] make install
make installcheck
- Extension
reporter
is an example of how to run background worker regularly. - Extension
simple
demonstrates a problem with permissions and extensions that was brought up inpgsql-bugs
- Extension
tagged
demonstrates how to crate polymorphic objects, for example, arrays that can contain objects of different dynamic types.