Should I stop my PostgreSQL server before reboot?
In theory the system should send it a stop signal and then wait for it to shutdown cleanly. But, I've seen this fail, with the result that the PostgreSQL had to go through crash recovery and any unlogged tables were truncated and had to be regenerated.  So I exercise an abundance of caution and manually shut PostgreSQL down before rebooting.