mkindahl / pg_examples

Repository with PostgreSQL example extensions mostly used for testing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PostgreSQL Examples

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.

Building and installing

To build, install, and run tests

make
[sudo] make install
make installcheck

Documentation

  • 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 in pgsql-bugs
  • Extension tagged demonstrates how to crate polymorphic objects, for example, arrays that can contain objects of different dynamic types.

About

Repository with PostgreSQL example extensions mostly used for testing.

License:Apache License 2.0


Languages

Language:C 81.8%Language:PLpgSQL 15.3%Language:Makefile 2.9%