We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a540338 commit d47e4f2Copy full SHA for d47e4f2
src/backend/postmaster/postmaster.c
@@ -3895,6 +3895,7 @@ BackendStartup(Port *port)
3895
*/
3896
if (!pg_strong_random(&MyCancelKey, sizeof(MyCancelKey)))
3897
{
3898
+ free(bn);
3899
ereport(LOG,
3900
(errmsg("could not generate random query cancel key")));
3901
return STATUS_ERROR;
@@ -5549,6 +5550,7 @@ assign_backendlist_entry(RegisteredBgWorker *rw)
5549
5550
5551
5552
5553
5554
rw->rw_crashed_at = GetCurrentTimestamp();
5555
return false;
5556
}
0 commit comments