]> granicus.if.org Git - postgresql/commit
Slightly reorganize struct SnapshotData.
authorRobert Haas <rhaas@postgresql.org>
Sat, 7 Jan 2012 03:56:00 +0000 (22:56 -0500)
committerRobert Haas <rhaas@postgresql.org>
Sat, 7 Jan 2012 03:56:00 +0000 (22:56 -0500)
commit1fc3d18faa8f4476944bc6854be0f7f6adf4aec8
tree8f2f1d7318bd48d69622e14462d8f1870f3186a7
parentdf970a0ac8fb416b179825a135c18ad3293076af
Slightly reorganize struct SnapshotData.

This squeezes out a bunch of alignment padding, reducing the size
from 72 to 56 bytes on my machine.  At least in my testing, this
didn't produce any measurable performance improvement, but the space
savings seem like enough justification.

Andres Freund
src/include/utils/snapshot.h