This page (revision-18) was last changed on 03-Aug-2012 15:46 by ThomasBayen 

This page was created on 14-Jun-2007 17:19 by MarkusMonderkamp

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
18 03-Aug-2012 15:46 7 KB ThomasBayen to previous Neue Seite für Postgres-Metadatenanalyse
17 08-Jan-2012 12:48 7 KB ThomasBayen to previous | to last Link ins FreiBier-Wiki zu meiner Queries-Sammlung
16 08-Jan-2012 12:46 6 KB ThomasBayen to previous | to last
15 25-Dec-2011 15:41 6 KB ThomasBayen to previous | to last Admin-User Passwort ändern
14 16-Dec-2011 01:45 6 KB ThomasBayen to previous | to last Vergleichen von ganzen Datensätzen
13 19-Nov-2011 00:10 5 KB ThomasBayen to previous | to last Binärdaten per Kommandozeile lesen
12 30-Apr-2011 17:07 4 KB ThomasBayen to previous | to last Passwort setzen, wenn man Benutzer anlegt
11 27-Mar-2011 19:02 4 KB ThomasBayen to previous | to last Link zu neuer Seite eingefügt
10 27-Mar-2011 19:02 4 KB ThomasBayen to previous | to last Link zu neuer Seite eingefügt
9 24-Feb-2011 09:27 4 KB ThomasBayen to previous | to last Link zu PostgresVolltext
8 30-Nov-2010 12:59 4 KB Markus Monderkamp to previous | to last PostGIS
7 30-Nov-2010 11:32 4 KB ThomasBayen to previous | to last Erste Schritte mit PostgreSQL unter Debian Linux
6 30-Nov-2010 10:11 4 KB ThomasBayen to previous | to last Erste Schritte mit PostgreSQL unter Debian Linux
5 31-Jan-2008 16:33 1 KB ThomasBayen to previous | to last Tagging
4 17-Jan-2008 17:20 1 KB PeterHormanns to previous | to last Tagging
3 15-Jun-2007 15:04 1 KB MarkusMonderkamp to previous | to last Querverweis zu Datenbank
2 14-Jun-2007 17:32 1 KB MarkusMonderkamp to previous | to last psql, der Pg-Konsolen-Client
1 14-Jun-2007 17:19 1 KB MarkusMonderkamp to last Startschuss mit Link zu postgres.de

Page References

Incoming links Outgoing links

Version management

Difference between version and

!~PostGreSQL

~PostgreSQL ist laut http://www.postgres.de ein ''objekt-relationales Datenbank-Managementsystem...''DatenBank-Managementsystem...''

Alles halb so wild.
Im Gegensatz zu MySQL (siehe dort) habe ich [PostGreSQL|http://www.postgres.de/] auch unter HPUX kompilieren können.

{{{
Geht auch ohne Root-Rechte mit
configure --PREFIX=/home/dau
make && make install
}}}

Die Verwaltung erfolgt mit pg_ctl, einfach das Pg-bin-Verzeichnis in den Suchpfad einbinden:

{{{
% > pg_ctl --help
pg_ctl is a utility to start, stop, restart, reload configuration files,
report the status of a PostgreSQL server, or signal a PostgreSQL process.

Usage:
 pg_ctl start   [-w] [-D DATADIR] [-s] [-l FILENAME] [-o "OPTIONS"]
 pg_ctl stop    [-W] [-D DATADIR] [-s] [-m SHUTDOWN-MODE]
 pg_ctl restart [-w] [-D DATADIR] [-s] [-m SHUTDOWN-MODE] [-o "OPTIONS"]
 pg_ctl reload  [-D DATADIR] [-s]
 pg_ctl status  [-D DATADIR]
 pg_ctl kill    SIGNALNAME PID

Common options:
 -D, --pgdata DATADIR   location of the database storage area
 -s, --silent           only print errors, no informational messages
 -w                     wait until operation completes
 -W                     do not wait until operation completes
 --help                 show this help, then exit
 --version              output version information, then exit
(The default is to wait for shutdown, but not for start or restart.)
[...]
}}}

Der Konsolen-Client lauscht auf den Namen psql:

{{{
% > psql --help
[... alle Parameter ...]

% > psql -d __DB__ -U __User__ -W -h __Horst__ -p __Port__

DB => \? ->listet Hilfe am psql-Prompt auf
DB => \l -> listet alle Postgres-Datenbanken auf dem Pg-Server
DB => \c Blumenkohl -> verbindet mit Datenbank aus der Gattung Sellerie
DB => \dt -> listet Tabellen der aktuell verbundenen DB
DB => \q -> beendet den Klienten
}}}

--MarkusMonderkamp

[{Tag Datenbank}]