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
- Host: GitHub
- URL: https://github.com/florents-tselai/cookiecutter-postgres-extension
- Owner: Florents-Tselai
- License: bsd-3-clause
- Created: 2023-12-04T17:01:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-09T13:14:55.000Z (over 1 year ago)
- Last Synced: 2025-09-02T16:49:03.914Z (about 1 month ago)
- Topics: cookiecutter, cookiecutter-template, postgres, postgresql-extension
- Language: C
- Homepage: https://cookiecutter-postgres-extension.tselai.com
- Size: 2.36 MB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
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)