diff options
author | Tom Lane | 2025-07-25 14:56:55 +0000 |
---|---|---|
committer | Tom Lane | 2025-07-25 14:56:55 +0000 |
commit | 5457ea46d181f8b8dbe1ae482720b23bff4029de (patch) | |
tree | 60612035a3b742b02c5cff108121bd5d63e54d00 /src/test/isolation/expected/partition-key-update-2.out | |
parent | 1dfe3ef3f960d6924eb1f18facf4fbdae6e1cc1d (diff) |
This flag was effectively a no-op in EXEC_BACKEND (ie, Windows)
builds, because it was kept in the process-local HTAB struct,
and it could only ever become set in the postmaster's copy.
The simplest fix is to move it to the shared HASHHDR struct.
We could keep a copy in HTAB as well, as we do with keysize
and some other fields, but the "too much contention" argument
doesn't seem to apply here: we only examine isfixed during
element_alloc(), which had better not get hit very often for
a shared hashtable.
This oversight dates to 7c797e719 which invented the option.
But back-patching doesn't seem appropriate given the lack of
field complaints. If there is anyone running an affected
workload on Windows, they might be unhappy about the behavior
changing in a minor release.
Author: Aidar Imamov <a.imamov@postgrespro.ru>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/4d0cb35ff01c5c74d2b9a582ecb73823@postgrespro.ru
Diffstat (limited to 'src/test/isolation/expected/partition-key-update-2.out')
0 files changed, 0 insertions, 0 deletions