PostgreSQL - Tipps und Tricks: Unterschied zwischen den Versionen

Aus Geometa Lab OST
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Zeile 9: Zeile 9:
   $ psql.exe -h localhost -p 5432 template1 "postgres"
   $ psql.exe -h localhost -p 5432 template1 "postgres"


== PostgreSQL SQL ==
# select version();


== Konfiguration ==
== Konfiguration ==

Version vom 15. Februar 2008, 09:08 Uhr

Siehe auch:

Quickreference

Im Aufbau...

  • Start pgsl-Client:
 $ psql.exe -h localhost -p 5432 template1 "postgres"

PostgreSQL SQL

  1. 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