On 24. 04. 2018 06:22, Charles Cui wrote: > Hi PostgreSQL community and mentors: > > Thanks for selecting my project as one of GSoC student projects! > Pretty exciting and honor to join the development for PostgreSQL (the > best database in the world :)). So for the first phase of this project > (community bonding), I am planning to go ahead to set up my developing > environment and familiar with the related code bases. And I have > several questions regarding this. Welcome!
I'm not a commiter, but I've been looking at Postgres as a side project for a while now. You'll find that there's a lot to learn. > 1. What ide or command line tools do you guys used most for PostgreSQL > development? I've had most success with Eclipse. Metin Döşlü presented a talk at PGConf.EU on how to do that, but the slides[1] are not the most verbose, as he did a live demo. My key takeaway was that you can get the backend pid with pg_backend_pid() and then attach GDB in Eclipse. There's also a page on Eclipse on wiki[2]. > > 2. What version control do you use for postgres? Is github acceptable? Postgres uses GIT[3]. Github does host a mirror, however Postgres as a project uses its own git and uses patch based workflow, which is described on wiki[4]. > 3. How do you look at code in PostgreSQL code base? do you have cross > function reference where I can search function and definition online? There's a doxygen[5] available, but most of that can also be done in Eclipse. > > Also let me know if you have requirements in this phase which are not > covered by my plan. > > Thanks Charles. A thing to note is that Postgres mailing lists are not top-post, so please try not to do that. Wiki is a great resource. Kind regards, Gasper Zejn [1] https://www.postgresql.eu/events/pgconfeu2017/sessions/session/1605-hacking-postgresql-with-eclipse/ [2] https://wiki.postgresql.org/wiki/Working_with_Eclipse [3] https://www.postgresql.org/docs/current/static/git.html [4] https://wiki.postgresql.org/wiki/Submitting_a_Patch [5] https://doxygen.postgresql.org/