Fix confusion on the padding of GIDs in on commit and abort records.
Review of commit 1eb6d652: It's pointless to add padding to the GID fields,
when the code that follows assumes that there is no alignment, and uses
memcpy(). Remove the pointless padding.
Update comments to note the new fields in the WAL records.
Reviewed-by: Michael Paquier
Discussion: https://www.postgresql.org/message-id/33b787bf-dc20-1161-54e9-3f3b607bf59d%40iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/cf5a1890592bfa2f45d306789533efba97496233
Modified Files
--------------
src/backend/access/rmgrdesc/xactdesc.c | 16 ++++++++--------
src/backend/access/transam/twophase.c | 2 ++
src/backend/access/transam/xact.c | 24 ++----------------------
src/include/access/xact.h | 5 ++++-
src/include/access/xlog_internal.h | 2 +-
5 files changed, 17 insertions(+), 32 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.