Re: embedded list v2
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Andres Freund <andres@2ndquadrant.com>, Pg Hackers <pgsql-hackers@postgresql.org>, Tom Lane <tgl@postgresql.org>, Peter Geoghegan <peter@2ndquadrant.com>
Date: 2012-06-28T19:57:26Z
Lists: pgsql-hackers
On Thu, Jun 28, 2012 at 3:47 PM, Alvaro Herrera <alvherre@commandprompt.com> wrote: > > Excerpts from Andres Freund's message of jue jun 28 14:20:59 -0400 2012: > >> Looks good now? > > The one thing I dislike about this code is the names you've chosen. I > mean, ilist_s_stuff and ilist_d_stuff. I mean, why not just Slist_foo > and Dlist_bar, say? As far as I can tell, you've chosen the "i" prefix > because it's "integrated" or "inline", but this seems to me a rather > irrelevant implementation detail that's of little use to the callers. > > Also, I don't find so great an idea to have everything in a single file. > Is there anything wrong with separating singly and doubly linked lists > each to its own file? Other than you not liking it, I mean. As a > person who spends some time trying to untangle header dependencies, I > would appreciate keeping stuff as lean as possible. However, since > nobody else seems to have commented on this, maybe it's just me. Well, it's not JUST you. I agree entirely with all of your points. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Provide some static-assertion functionality on all compilers.
- 0d0aa5d29175 9.3.0 cited
-
Add infrastructure for compile-time assertions about variable types.
- ea473fb2dee7 9.3.0 cited
-
Remove 576 references of include files that were not needed.
- e0522505bd13 8.2.0 cited
-
More include file adjustments.
- b43ebe5f83b2 8.2.0 cited
-
Allow each C include file to compile on its own by including any needed
- b85a965f5fc7 8.2.0 cited