Thanks for your comments, Craig! 2018-04-26 21:03 GMT-07:00 Craig Ringer <cr...@2ndquadrant.com>:
> On 24 April 2018 at 12:22, Charles Cui <charles.cui1...@gmail.com> 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. > > 1. What ide or command line tools do you guys used most for PostgreSQL > > development? > > Varies. > > vim, emacs, whatever editor you want. Some people use VS Code. Some > use Eclipse. You could code on Windows in Visual Studio if you want, > or XCode on Mac OS X. > > I use vim with a bunch of plugins. Whatever floats your boat, really, > so long as you set it up to help you follow the coding conventions and > source structure rules re tab/spaces etc. > > > 2. What version control do you use for postgres? Is github acceptable? > > git. But patches are emailed to the list. Github is fine, but we don't > use its pull request facilities, and the PostgreSQL source on github > is a mirror of git.postgresql.org. > > The stuff about context diff on the wiki is pretty outdated, I think > most people use unified diff now. > > > 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? > > Use whatever facilities your editor and tools provide. I use vim and > cscope mostly, via "vim -t" and "ctrl-]". Visual Studio's Intellisense > works, whatever you want really. > > There's doxygen generated documentation too, see > https://doxygen.postgresql.org/ . I don't find it that useful. > > -- > Craig Ringer http://www.2ndQuadrant.com/ > PostgreSQL Development, 24x7 Support, Training & Services >