Re: embedded list v2
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Alvaro Herrera <alvherre@2ndquadrant.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-09-06T17:01:01Z
Lists: pgsql-hackers
On Thu, Sep 6, 2012 at 12:09 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote: > Here's a prettified version of this stuff. I found one bug in the macro > ilist_s_head: the test was reversed. Also, curiously, the macro had the > same name as the struct, so I renamed the macro. I take it you haven't > used this macro, so maybe it shouldn't be there at all? Or maybe I > completely misread what the macro is supposed to do. > > I also renamed all the structs and functions by changing ilist_s_foo to > Slist_foo. Similarly for ilist_d_foo. This is all mechanical so any > subsequent patch should be trivial to refresh for this change. I think this is a good direction, but why not just slist_foo and dlist_foo? I don't see much value in capitalizing the first letter. It's not like it's the beginning of a word or anything. Plus, that way the new stuff will be more obviously different from Dllist, which it will (I think) replace. -- 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