The following bug has been logged on the website:
Bug reference: 15621
Logged by: Lukasz Suleja
Email address: lukasz_suleja@hotmail.com
PostgreSQL version: 10.0
Operating system: Windows 10
Description:
I am running PostgreSQL on a Window 10 laptop, which has 2 HDD (System +
Data).
Both drives are Bit-Locked and AutoUnlock is enabled.
The PG data directory is on the D drive.
When Windows is restarted with the shutdown /r command the PostgreSQL
service does not start. The error reported in the event log suggests the
data folder on the D: cannot be found.
Interestingly if restarted via the Start button or shutdown /g the service
starts. Although this might be a coincidence, as the Pg service restarts
consistently with Bit-Locker turned off on the D drive.
After a failed restart logging in and starting the service manually works
OK.
Is their a missing dependency in the PostgreSQL service? I only have RPC.
Kind regards,
Lukasz