LWN: Comments on "Haas: The PostgreSQL Documentation and the Limitations of Community" https://lwn.net/Articles/934674/ This is a special feed containing comments posted to the individual LWN article titled "Haas: The PostgreSQL Documentation and the Limitations of Community". en-us Fri, 26 Sep 2025 00:08:31 +0000 Fri, 26 Sep 2025 00:08:31 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Haas: The PostgreSQL Documentation and the Limitations of Community https://lwn.net/Articles/935059/ https://lwn.net/Articles/935059/ atnot <div class="FormattedComment"> I think this really comes down to the type of documentation available. Making developers document their work seems to work very well for reference documentation, i.e. dry factual descriptions of the interfaces in a human-readable form.<br> What it appears less good at creating is other types of documentation, such as tutorials, conceptual overviews and glossaries.<br> <p> In my opinion, that's still a huge success though. Because reference documentation is really the backbone that the other types of documentation are built on.<br> </div> Mon, 19 Jun 2023 07:24:44 +0000 Haas: The PostgreSQL Documentation and the Limitations of Community https://lwn.net/Articles/935050/ https://lwn.net/Articles/935050/ JoelSherrill <div class="FormattedComment"> I recall that long ago IBM documentation used to include a Theory of Operation section which told you how to use a set of APIs together to accomplish what we would now call a use case. I'm from RTEMS and each "manager" has a Background, Operations, and Directives section in its chapter. The Background is for theory and definitions. The Operations tries to explain how one would use the various services. And the Directives section is man pages. This is an example for our support for Rate Monotonic Scheduling which has some theory a user would be well served to understand (<a rel="nofollow" href="https://docs.rtems.org/branches/master/c-user/rate-monotonic/index.html">https://docs.rtems.org/branches/master/c-user/rate-monoto...</a>). <br> <p> We have a git repository of examples but we all think we could use more. I teach a week long class on real-time programming with RTEMS and I've started to include a couple of easy to understand system design cases that (I think) are best solved with a combination of services from 1+ managers. <br> <p> It is a hard thing mentally to jump from reading man pages to using a set of them to accomplish something productive. And in the FLOSS world, people who write code almost always write the documentation (if they do it at all). And that can be a problem. <br> <p> One thing I tell people is that you are only a new user once. Please report your experience and issues. People who write the documentation generally don't need to read it. <br> <p> My USD .02. :)<br> </div> Sun, 18 Jun 2023 16:02:32 +0000 Haas: The PostgreSQL Documentation and the Limitations of Community https://lwn.net/Articles/934999/ https://lwn.net/Articles/934999/ wtarreau <div class="FormattedComment"> Absolutely. We're facing similar challenges with haproxy. We know pretty well that the weakest point is the contributor and that we must do anything to ease their task. Actually we're trying hard to make sure there cannot be an excuse for not adding an entry in the doc when something changes so that it's mandatory as well. It works remarkably well, but the points that were mentioned about pgsql regarding out-of-alphabetical-order, occasionally missing entries, or entries that are difficult to find for a newcomer due to multiple sub-sections taking a lot of space is something we know as well.<br> <p> I've been in the past in the situation where I had to document some features others added. It was amazingly difficult because you rarely have enough context to give good examples and explanations. But nowadays we make sure that everything is documented, and that tools (and humans) help contributors as much as necessary. I'm even willing to fix typos or grammatical errors before committing the patch, but the description of the purpose and how it works are non-negotiable. And it turns out that nobody complains, everyone finds this perfectly normal. This proves that contributors need to be helped, i.e. we have to minimize their effort to contribute doc. As a hint, I often suggest them to reuse a part of the doc in the commit message if they lack inspiration ;-)<br> </div> Sat, 17 Jun 2023 14:11:11 +0000 Haas: The PostgreSQL Documentation and the Limitations of Community https://lwn.net/Articles/934878/ https://lwn.net/Articles/934878/ ballombe <div class="FormattedComment"> Agreed. Documentations using system like doxygen is generally 100% accurate and at the same time oten fails to explain how the API is supposed to be used, which is often more important than to know precisely what the individual steps do.<br> <p> </div> Fri, 16 Jun 2023 11:53:06 +0000 Haas: The PostgreSQL Documentation and the Limitations of Community https://lwn.net/Articles/934846/ https://lwn.net/Articles/934846/ smitty_one_each <div class="FormattedComment"> Tooling is great, but 80% of the effort [waves hands] has to do with the people and their passion for the project. Maybe talent, too.<br> </div> Fri, 16 Jun 2023 01:06:29 +0000 Haas: The PostgreSQL Documentation and the Limitations of Community https://lwn.net/Articles/934826/ https://lwn.net/Articles/934826/ n0x0n <div class="FormattedComment"> I like that idea, I feel quite some projects could profit from methodical documentation …<br> </div> Thu, 15 Jun 2023 21:29:01 +0000 Haas: The PostgreSQL Documentation and the Limitations of Community https://lwn.net/Articles/934809/ https://lwn.net/Articles/934809/ Wol <div class="FormattedComment"> My big problem with much documentation is, as I put it, you need to know it before you can make sense of it. It's a very good aide-memoire, but if you don't know what you're doing it's useless.<br> <p> It's the teaching materials that are so often lacking, and while I don't like "monkey see monkey do" documentation, a cook-book of "this is how to achieve this task, and this is why it works" is both very useful and, sadly, usually lacking.<br> <p> Which enhances network effects because, without a mentor, how do you learn :-(<br> <p> Cheers,<br> Wol<br> </div> Thu, 15 Jun 2023 16:14:36 +0000 Haas: The PostgreSQL Documentation and the Limitations of Community https://lwn.net/Articles/934806/ https://lwn.net/Articles/934806/ brunowolff <div class="FormattedComment"> I really like Postgres documentation and have learned a lot from it over the years (going back to 7.1). I even use it first when I'm using Oracle at work, because I find it easier to use Postgres documentation and for standard stuff Oracle mostly uses the same syntax and semantics.<br> </div> Thu, 15 Jun 2023 15:28:22 +0000 Haas: The PostgreSQL Documentation and the Limitations of Community https://lwn.net/Articles/934803/ https://lwn.net/Articles/934803/ dkg I'm inclined to agree with rgb here. Postgres documentation is both comprehensive and well-indexed. And, the psql client itself provides useful embedded/contextual guidance within its REPL (read-eval-print-loop) by way of backslash commands (e.g. <tt>\h</tt> for SQL and <tt>\?</tt> for psql itself). I'm pleased to hear that the project is looking at how to improve its documentation further, as it's something that's always possible to improve. I wish more projects had the same commitment to documentation that Postgres has. Thu, 15 Jun 2023 14:56:44 +0000 Haas: The PostgreSQL Documentation and the Limitations of Community https://lwn.net/Articles/934719/ https://lwn.net/Articles/934719/ rgb <div class="FormattedComment"> This could also make a nice LWN series. Showcasing how various open source projects deal with documentation. Maybe this could also helps others to adjust their best practices, seeing what works and what doesn't in practice.<br> </div> Thu, 15 Jun 2023 10:08:12 +0000 Haas: The PostgreSQL Documentation and the Limitations of Community https://lwn.net/Articles/934712/ https://lwn.net/Articles/934712/ rgb <div class="FormattedComment"> I always thought of the Postgres documentation as rather excellent. I am not doubting that there are issues. The fact that they are noticing and discussing them is also a good thing in my book.<br> </div> Thu, 15 Jun 2023 09:58:50 +0000