diff options
author | Silvino Silva <silvino@bk.ru> | 2020-02-17 05:08:15 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2020-02-17 05:08:15 +0000 |
commit | 36ef4944b852eaf9ef54154c3cccef6c2eb41292 (patch) | |
tree | fdd6d9740d68ee741c385e7a0a2888d74f4de2de /tools/postgresql.html | |
parent | a947a31ede27fdf995e0a63e766fcd68eb491426 (diff) | |
download | doc-36ef4944b852eaf9ef54154c3cccef6c2eb41292.tar.gz |
configuration files fix
Diffstat (limited to 'tools/postgresql.html')
-rw-r--r-- | tools/postgresql.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/postgresql.html b/tools/postgresql.html index 141d6c2..f27b7d4 100644 --- a/tools/postgresql.html +++ b/tools/postgresql.html @@ -274,7 +274,7 @@ <p>Deleting database with dropdb command;</p> <pre> - sudo -u postgres dropdb db_name + sudo -u postgres dropdb -U postgres db_name </pre> <h3 id="listdb">4.3. List databases</h3> @@ -302,7 +302,7 @@ <p>Restore a database;</p> <pre> - $ cat db_name_dump | psql -U user_name -d db_name + $ psql -U user_name -d db_name -f db_name_dump </pre> <h2 id="psql">5. Psql</h2> |