WAL log only the actual GID instead of the entire GIDSIZE data
authorPavan Deolasee <[email protected]>
Sun, 17 Jan 2016 14:01:01 +0000 (19:31 +0530)
committerPavan Deolasee <[email protected]>
Sun, 17 Jan 2016 14:01:01 +0000 (19:31 +0530)
commita12d07ebb10e98e6caad731e1ff545a9af08d42f
tree70cbdb085608eec3b2f271005cbdd14fdb702ac7
parent6eaee40b468ccbde758295d1874f922c1b16bd45
WAL log only the actual GID instead of the entire GIDSIZE data

While GIDSIZE is set to quite high (actually, in XL its even more than 200
bytes currently defined in PG), in practice, the GID will be much smaller in
length. So instead of WAL logging the entire GIDSIZE data, we only log the
actual GID string. This shows considerable improvement for XL
src/backend/access/transam/twophase.c