Contributing to an open-source project like PostgreSQL requires a good understanding of the community, mailing lists, and the patch submission and review process.
PostgreSQL community: The PostgreSQL community is a vibrant community of developers, users, and contributors who are passionate about this open-source RDBMS. The community thrives on active participation and contribution, including code contributions, documentation, testing, and technical discussions.
Mailing Lists: The PostgreSQL community uses several mailing lists to communicate and collaborate. These lists serve as forums for discussions related to development, user support, documentation, and testing. The most important mailing lists are-
- Pgsql-hackers: This list is specifically for developers and contributors to discuss the development of PostgreSQL.
- Pgsql-general: This list is for general user questions and support.
- Pgsql-docs: This list is for documentation discussions and contributions.
Patch submission and review process: Before submitting a patch, it’s important to follow certain guidelines and best practices to ensure it’s of high quality, well-documented, and compatible with the PostgreSQL codebase. Here are the general steps involved in submitting a patch:
1. Fork the PostgreSQL repository and create a branch for your changes.
2. Make your changes or additions and document them as thoroughly as possible.
3. Ensure that you run the tests to confirm that your changes did not break any code.
4. Create a patch file which contains your changes.
5. Submit the patch to the pgsql-hackers mailing list for review.
Reviewing patch process: The PostgreSQL community values code quality and ensuring that submitted patches are reviewed thoroughly. The following steps outline the process of reviewing patch submissions:
1. Other experienced contributors in the community will review the patch and provide feedback.
2. They may suggest changes or make observations that may need to be addressed.
3. After the issues are resolved, the patch is ready to be committed to the PostgreSQL codebase.
Overall, contributing to the PostgreSQL open-source project is an exciting and rewarding experience for anyone interested in becoming a part of the software engineering community.