summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorMichael Paquier2024-07-12 06:09:53 +0000
committerMichael Paquier2024-07-12 06:09:53 +0000
commit734c057a8935fca10ff67173c8b969ef799ea7d2 (patch)
tree5ed72e262aca246db405df33080692f61077e63c /src/backend/executor/nodeModifyTable.c
parent63909da9783a4736b01911fe3ee829651ff3c7d8 (diff)
Add assertion in pgstat_write_statsfile() about processes allowed
This routine can currently only be called from the postmaster in single-user mode or the checkpointer, but there was no sanity check to make sure that this was always the case. This has proved to be useful when hacking the zone (at least to me), to make sure that the write of the pgstats file happens at shutdown, as wanted by design, in the correct process context. Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions