On Wed, Apr 27, 2011 at 6:38 PM, Thomas Kellerer <spam_ea...@gmx.net> wrote:

> hirenlad, 27.04.2011 09:47:
>
>  Hiii
>>      Hey i m using postgresql 8.4. now i m install postgresql8.4 silently
>> and it work properly, no issue during this process. Now problem is i want
>> to
>> create one database automatically after install postgresql 8.4.
>>
>>   Can u plz inform me is it possible ? and if it is possible then how ?
>>
>>
> Simply run initdb after your installation is finished.
>
>
If you say, new database in the same cluster(/data directory running on 5432
port) then by default there will be three
databases(postgres,template0,template1), for new you can use CREATE DATABASE
command.

If you want another cluster, you can use INITDB as said by Thomas

Best Regards,
Raghavendra
EnterpriseDB Corporation
The Enterprise Postgres Company
Email: raghavendra....@enterprisedb.com
Blog: http://raghavt.blogspot.com/


>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

Reply via email to