From 8db8c1dba20bf68d019969ef54d35b7cd38a39ac Mon Sep 17 00:00:00 2001 From: niko d Date: Fri, 31 Dec 2021 09:02:30 +0000 Subject: [PATCH] Update modules/ROOT/pages/postgresql.adoc --- modules/ROOT/pages/postgresql.adoc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/modules/ROOT/pages/postgresql.adoc b/modules/ROOT/pages/postgresql.adoc index b386525..a7c9232 100644 --- a/modules/ROOT/pages/postgresql.adoc +++ b/modules/ROOT/pages/postgresql.adoc @@ -62,13 +62,18 @@ It might be good idea to add password for the `postgres` user while you're at it postgres=# \password postgres .... -`\q` to get out of postgres and back to shell. Now you can switch back to your main account and start using your database. - +Now get out of postgres and back to shell. .... -su original_user +\q .... -Now you can access your database: +And switch back to your main account with ctrl + D or type the command below where original_user is your username. + +.... +su your_username +.... + +Now you can access your database and start using it. .... psql carl