PostgreSQL - Tipps und Tricks
Aus Geoinformation HSR
Version vom 3. April 2008, 01:10 Uhr von Stefan (Diskussion | Beiträge)
Siehe auch:
Quickreference
Im Aufbau...
- Start pgsl-Client:
$ psql.exe -h localhost -p 5432 template1 "postgres"
PostgreSQL SQL
- select version();
Konfiguration
Die pg_hba.conf kann so eingestellt werden, dass bei der Ausführung von PostgreSQL-Kommandozeilen-Tools kein Passwort übertragen werden muss.
Bsp mit 127.0.0.1: Anstelle
# IPv4 local connections: host all all 127.0.0.1/32 md5
neu:
# IPv4 local connections: host all all 127.0.0.1/32 trust