pgsql: Fix confusion on the padding of GIDs in on commit and abortreco

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix confusion on the padding of GIDs in on commit and abortreco
Дата
Msg-id E1f8WwY-0006Qs-27@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Support partition pruning at execution time
Следующее
От: David Rowley
Дата:
Сообщение: Re: pgsql: Support partition pruning at execution time