Skip to content

Florents-Tselai/cookiecutter-postgres-extension

Repository files navigation

Logo

cookiecutter-postgres-extension

The missing cookiecutter for a Postgres extension

Features | Demo | Installation | Usage

Features

The missing cookiecutter for a Postgres extension

  • Standard extension files (Makefile, .control, ,c, .h, .sql) pre-populated with stubs.
  • Regression Tests
  • Out-of-the-box GitHub Actions for building on multiple Postgres versions
  • Docker support
  • pgxn integration

Demo

Video here

Installation

You'll need to have cookiecutter installed.

pip install cookiecutter
or
python3 -m pip install cookiecutter

Usage

Run

cookiecutter gh:Florents-Tselai/cookiecutter-postgres-extension  

and then answer the prompts.

The prompt answers will be used to populate the standard Postgres extension files