PostgreSQL
De MochilaWiki
Revisão de 21h22min de 7 de janeiro de 2015 por Banto Palmarino (discussão | contribs)
pg_dump -C -h IP_DO_SERVIDOR -U USUARIO_DO_DB DB_NAME > bkp.sql
alterando a senha
# su - postgres $ psql postgres postgres=# alter user postgres with encrypted password '123456'; postgres=# \q
instalando no openSUSE
zypper install -y postgresql postgresql-server rcpostgresql start su - postgres psql postgres=# ALTER USER postgres WITH PASSWORD 'postgres'; postgres=# \q rcpostgresql start sed -i '82s/ident/trustg' /var/lib/pgsql/data/pg_hba.conf