kalyanaraman rajaraman <egovernance2005@yahoo.co.in> writes:
> -bash-3.00$ initdb -D /var/lib/pgsql/data -W template1
> The files belonging to this database system will be
> owned by user "postgres".
> This user must also own the server process.
> The database cluster will be initialized with locale
> ta_IN.UTF-8.
> creating directory template1... ok
Not sure if this explains your problem, but you definitely don't want
that "template1" on the initdb command line.
regards, tom lane