Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session
Date
Msg-id 4901.1282684298@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> There is some amount of user code (I'm not sure preceisely how much)
> that runs after shared memory is mapped and before the deadman switch
> is engaged.

Er ... what would you define as "user code"?

The deadman switch is engaged at the point where we create a PGPROC.
Before that, it's entirely impossible to take either LWLocks or
heavyweight locks, which means that practically any access to shared
memory would be illegal anyway.  If there's anything very interesting
going on in that stretch, I'd be surprised.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: gSoC add MERGE command new patch -- merge_v104
Next
From: Robert Haas
Date:
Subject: Re: git: uh-oh