1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00
Files
postgres/src/backend
Heikki Linnakangas 2bbc261ddb Use an shmem_exit callback to remove backend from PMChildFlags on exit
This seems nicer than having to duplicate the logic between
InitProcess() and ProcKill() for which child processes have a
PMChildFlags slot.

Move the MarkPostmasterChildActive() call earlier in InitProcess(),
out of the section protected by the spinlock.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/a102f15f-eac4-4ff2-af02-f9ff209ec66f@iki.fi
2024-10-08 15:06:34 +03:00
..
2024-10-08 10:51:20 +09:00
2024-10-08 10:51:20 +09:00
2024-10-07 10:56:16 -05:00
2024-06-24 13:11:27 +02:00
2024-07-30 23:01:55 +12:00
2024-10-05 15:09:27 +03:00
2024-04-18 21:28:07 +02:00
2024-10-07 13:51:03 -05:00
2024-06-21 08:17:23 +02:00
2024-05-14 12:57:22 +02:00