mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Revert function to get memory context stats for processes
Due to concerns raised about the approach, and memory leaks found in sensitive contexts the functionality is reverted. This reverts commits45e7e8ca9,f8c115a6c,d2a1ed172,55ef7abf8and042a66291for v18 with an intent to revisit this patch for v19. Discussion: https://postgr.es/m/594293.1747708165@sss.pgh.pa.us
This commit is contained in:
@@ -221,8 +221,6 @@ typedef enum BuiltinTrancheIds
|
||||
LWTRANCHE_XACT_SLRU,
|
||||
LWTRANCHE_PARALLEL_VACUUM_DSA,
|
||||
LWTRANCHE_AIO_URING_COMPLETION,
|
||||
LWTRANCHE_MEMORY_CONTEXT_REPORTING_STATE,
|
||||
LWTRANCHE_MEMORY_CONTEXT_REPORTING_PROC,
|
||||
LWTRANCHE_FIRST_USER_DEFINED,
|
||||
} BuiltinTrancheIds;
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ typedef enum
|
||||
PROCSIG_WALSND_INIT_STOPPING, /* ask walsenders to prepare for shutdown */
|
||||
PROCSIG_BARRIER, /* global barrier interrupt */
|
||||
PROCSIG_LOG_MEMORY_CONTEXT, /* ask backend to log the memory contexts */
|
||||
PROCSIG_GET_MEMORY_CONTEXT, /* ask backend to send the memory contexts */
|
||||
PROCSIG_PARALLEL_APPLY_MESSAGE, /* Message from parallel apply workers */
|
||||
|
||||
/* Recovery conflict reasons */
|
||||
|
||||
Reference in New Issue
Block a user