An open API service indexing awesome lists of open source software.

https://github.com/florents-tselai/cookiecutter-postgres-extension

cookiecutter template for a Postgres extension
https://github.com/florents-tselai/cookiecutter-postgres-extension

cookiecutter cookiecutter-template postgres postgresql-extension

Last synced: 8 days ago
JSON representation

cookiecutter template for a Postgres extension

Awesome Lists containing this project

README

          



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](https://pgxn.org) integration

## Demo

Video [here](https://www.youtube.com/watch?v=zVxY3ZmE5bU)

## Installation

You'll need to have [cookiecutter](https://cookiecutter.readthedocs.io/) 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](https://www.postgresql.org/docs/current/extend-extensions.html#EXTEND-EXTENSIONS-FILES)