News for hackers. Stuff that matters.
Re:What I Wish Someone Told Me About Postgres by PhilippGille on Tuesday November 12, 2024 @08:14AM (#42115222)
I love the diagrams from the SQLite documentation: https://www.sqlite.org/syntaxdiagrams.html
Re:What I Wish Someone Told Me About Postgres by christophilus on Tuesday November 12, 2024 @12:58PM (#42117916)
SQLite diagrams plus examples are pretty much the way I wish all of my documentation worked.
Re:What I Wish Someone Told Me About Postgres by o11c on Tuesday November 12, 2024 @01:04PM (#42117975)
I've been bitten by those before because they are not generated from the actual syntax-parsing code, and thus are sometimes out of sync and wrong (or at least misleading).
Re:What I Wish Someone Told Me About Postgres by teddyh on Tuesday November 12, 2024 @02:50PM (#42119000)
Those are commonly called “railroad diagrams”: <https://en.wikipedia.org/w/index.php?title=Syntax_diagram&ol...>