Louie Kwan <lkwan(at)nuvo(dot)com> writes:
> I tried to do initdb, but it didn't work.
> My question is that can I just delete the directory where the database
> cluster stored before.
> I.e. rm -rf /var/lib/pgsql/data
Yup, that's the standard way ... however, maybe you should tell us
exactly what "didn't work". Otherwise you'll likely just fail again.
regards, tom lane