Thank you for your interest in contributing to pgEdge Vectorizer! This document provides guidelines and instructions for contributing.
Clone the repositorybash git clone https://github.com/pgEdge/pgedge-vectorizer.git cd pgedge-vectorizer
Install dependencies
Ubuntu/Debian:bash sudo apt-get install postgresql-server-dev-all libcurl4-openssl-dev
macOS:bash brew install postgresql curl
Install pgvectorbash git clone https://github.com/pgvector/pgvector.git cd pgvector make sudo make install
Build the extensionbash make sudo make install
Run testsbash make installcheck
git checkout -b feature/my-feature)make installcheck)elog, ereport)SQL Code:
Commit Messages:
All contributions must include tests and pass the full test suite:
make installcheck
Tests should cover:
- New functionality
- Edge cases
- Error handling
- Integration with existing features
test/sql/ or add to existing filemake installchecktest/results/test/expected/: cp test/results/mytest.out test/expected/mytest.outREGRESS in Makefile if it's a new fileAll pull requests must pass CI checks on:
- PostgreSQL 14, 15, 16, 17, and 18 (Ubuntu)
- PostgreSQL 17 (macOS)
- Code quality checks (no trailing whitespace, etc.)
CI runs automatically on all pull requests. Check the status at the bottom of your PR.
make installcheck)## Description
Brief description of changes
## Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Documentation update
## Testing
Describe testing performed
## Checklist
- [ ] Tests pass locally
- [ ] Documentation updated
- [ ] No trailing whitespace
- [ ] Commit messages are clear
Include:
- PostgreSQL version
- pgEdge Vectorizer version
- Steps to reproduce
- Expected vs actual behavior
- Error messages and logs
- Configuration settings (redact sensitive data)
Include:
- Use case description
- Proposed solution
- Alternative solutions considered
- Impact on existing functionality
By contributing to pgEdge Vectorizer, you agree that your contributions will be licensed under the PostgreSQL License.