From 36ef4944b852eaf9ef54154c3cccef6c2eb41292 Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Mon, 17 Feb 2020 05:08:15 +0000 Subject: configuration files fix --- tools/postgresql.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/postgresql.html') 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 @@

Deleting database with dropdb command;

-        sudo -u postgres dropdb db_name
+        sudo -u postgres dropdb -U postgres db_name
         

4.3. List databases

@@ -302,7 +302,7 @@

Restore a database;

-        $ cat db_name_dump | psql -U user_name -d db_name
+        $ psql -U user_name -d db_name -f db_name_dump
         

5. Psql

-- cgit 1.4.1-2-gfad0 ='selected'>hlt Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/html/edit/008-sandbox-edit.mu.html
blob: 8b8cf20dcda898082113e110e8dc8c606c45028d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15