Skip to content

Commit fbe4ce7

Browse files
committed
updated cheatsheet
1 parent ba307a3 commit fbe4ce7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pgsql-cheatsheet.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ psql -h host -d database -U user -W
66

77
psql -U user -h host "dbname=db sslmode=require"
88

9+
## Import database
10+
11+
psql -d sampledatabase -f world.sql
12+
913
postgres=# \c dvdrental
1014

1115
List available databases
@@ -54,3 +58,4 @@ Execute psql commands from a file
5458

5559
systemctl start postgresql-12
5660

61+
shared_preload_libraries = 'pg_stat_statements'

0 commit comments

Comments
 (0)