diff --git a/doc/postgres-connect.md b/doc/postgres-connect.md index bc1b22a..ba3fea7 100644 --- a/doc/postgres-connect.md +++ b/doc/postgres-connect.md @@ -2,16 +2,16 @@ * OPTION: connect to Postgres as admin user ``` -sudo -u postgres psql -U postgres -W +sudo -u postgres psql -U postgres ``` -* OPTION: connect to the database as user +* OPTION: connect to the database `database name` as user `user name` ``` -psql -U -d -W +psql -U -d ``` -* OPTION: connect to the database as user to a remote Postgres instance at host and port (NOTE: Configure Postgres for remote connections like [this](./postgres.md)) +* OPTION: connect to the database `database name` as user `user name` to a remote Postgres instance at host `host name` and port `port number` (NOTE: Configure Postgres for remote connections like [this](./postgres.md)) ``` -psql -h -p -U -d -W +psql -h -p -U -d ``` \ No newline at end of file