diff options
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> |