From the course: PostgreSQL Essential Training

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Start and stop the server

Start and stop the server

- [Instructor] When you're done working in your database, you might be tempted to simply close PG Admin and call it a night. But, remember that the PG Admin interface is just a front end client for the Postgres server. The server itself is still running on your computer. This is important when you have multiple users that all connect from remote machines. You'll want to make sure that the server stays up and running, even if you're not currently using it. However, when you do want to shut the server down, you'll need to exit out of the background processes that are running on your computer. If you're running the server in a Docker container, then you can simply use the Docker dashboard to stop and then later restart the container. The Postgres server will be available for connections again the next time the container is running. If you installed Postgres locally on a Windows PC, then you can use the Windows Services…

Contents