informatica:linux:postgresql
Differences
This shows you the differences between two versions of the page.
informatica:linux:postgresql [2016/01/07 14:58] – created javi | informatica:linux:postgresql [2016/01/07 16:04] (current) – javi | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PostgreSQL ===== | ====== PostgreSQL ===== | ||
- | db | + | * Conectarse |
+ | < | ||
+ | psql -U usuario | ||
+ | </ | ||
+ | |||
+ | * Show databases | ||
+ | < | ||
+ | psql -U usuario | ||
+ | \l | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
* Volcado de una base de datos | * Volcado de una base de datos | ||
< | < | ||
- | TODO | + | pg_dump -U usuario dbname > outfile |
</ | </ | ||
+ |
informatica/linux/postgresql.txt · Last modified: 2016/01/07 16:04 by javi