Re: pg_filedump 9.3: checksums (and a few other fixes)
Jeff Davis <pgsql@j-davis.com>
From: Jeff Davis <pgsql@j-davis.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Peter Geoghegan <pg@heroku.com>, Satoshi
Nagayasu <snaga@uptime.jp>, Josh Kupershmidt <schmiddy@gmail.com>, Pg
Hackers <pgsql-hackers@postgresql.org>
Date: 2013-07-21T06:02:43Z
Lists: pgsql-hackers
On Wed, 2013-07-17 at 13:43 -0400, Alvaro Herrera wrote: > Tom Lane escribió: > > > My feeling about this code is that the reason we print the infomask in > > hex is so you can see exactly which bits are set if you care, and that > > the rest of the line ought to be designed to interpret the bits in as > > reader-friendly a way as possible. So I don't buy the notion that we > > should just print out a name for each bit that's set. I'd rather > > replace individual bit names with items like LOCKED_FOR_KEY_SHARE, > > LOCKED_FOR_SHARE, etc in cases where you have to combine multiple > > bits to understand the meaning. > > Okay, that's what I've been saying all along so I cannot but agree. I > haven't reviewed Jeff's patch lately; Jeff, does Tom's suggestion need > some more new code, and if so are you open to doing this work, or shall > I? At first glance it seems like a pretty trivial change. I'm going on vacation tomorrow and unfortunately I haven't had a chance to look at this. Pgfoundry CVS is down, so I can't see whether it's already been committed or not. Regards, Jeff Davis
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Refactor checksumming code to make it easier to use externally.
- f04216341dd1 9.3.0 cited