diff options
| author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2025-11-12 21:19:03 +0200 |
|---|---|---|
| committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2025-11-12 21:19:03 +0200 |
| commit | 0bdc777e80071abd77674f1e66258d410a010aa9 (patch) | |
| tree | 39f4abcface8e13052676bf7a789635ed1bc3e6f /src/backend/storage/ipc/barrier.c | |
| parent | 797e9ea6e54b06c3e6c79b468dab89fdbf6be179 (diff) | |
Clear 'xid' in dummy async notify entries written to fill up pages
Before we started to freeze async notify entries (commit 8eeb4a0f7c),
no one looked at the 'xid' on an entry with invalid 'dboid'. But now
we might actually need to freeze it later. Initialize them with
InvalidTransactionId to begin with, to avoid that work later.
Álvaro pointed this out in review of commit 8eeb4a0f7c, but I forgot
to include this change there.
Author: Álvaro Herrera <alvherre@kurilemu.de>
Discussion: https://www.postgresql.org/message-id/202511071410.52ll56eyixx7@alvherre.pgsql
Backpatch-through: 14
Diffstat (limited to 'src/backend/storage/ipc/barrier.c')
0 files changed, 0 insertions, 0 deletions
