Em 5 de outubro de 2010 08:13, Antonio Prado
<[email protected]>escreveu:

> Instalei o postgresql no linux ubuntu 10.04
>
> # apt-get install postgresql-8.4
>
>
> Feito isto, não foi criado os diretorio:
> /etc/postgresql/8.4/main/
>
> no qual deveria conter os arquivos:
> postgresql.conf
> pg_hba.conf
> entre outros.
>
>
> O que está faltando?
>
>
>
Vc precisa criar um cluster. No ubuntu/debian, graças ao "postgresql-common"
(obrigado por vc existir...hehehe),  temos alguns utilitários interessantes,
veja o pg_createcluster, pg_dropcluster, pg_ctlcluster e pg_lscluster.

O pg_createcluster é uma espécie de *wrapper* para o initdb [1], o
pg_lscluster lista os clusters criados, o pg_dropcluster apaga um cluster
criado e o pg_ctlcluster tb é uma espécie de *wrapper*, mas para o pg_ctl
[2]


[1] http://www.postgresql.org/docs/current/interactive/app-initdb.html
<http://www.postgresql.org/docs/current/interactive/app-initdb.html>[2]
http://www.postgresql.org/docs/current/interactive/app-pg-ctl.html

-- 
Fabrízio de Royes Mello
>> Blog sobre TI: http://fabriziomello.blogspot.com
>> Perfil Linkedin: http://br.linkedin.com/in/fabriziomello
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a