From 3b6b4d64a84c8095756a623537c037f8dea8332d Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Thu, 16 Nov 2023 10:37:18 +0100 Subject: [PATCH] feat: adjust doc/postgres-connect.md --- doc/postgres-connect.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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