psql
PostgreSQL interaktiver Client
Syntax
$psql [options] [database [username]]
Optionen
-U
-d
-h
-p
-c
-f
Beispiele
Beispiele
$psql -U postgres
Beispiele
$psql -U user -d database
Beispiele
$psql -c "SELECT * FROM users;" database
Beispiele
$psql -f script.sql database
Siehe auch
Typische Anwendungsfälle
Hinweis
PostgreSQL Kommandozeilen-Client.
Export