Postgresql 9.2 where is the initdb located on Ubuntu

Posted by thanikkal on Super User See other posts from Super User or by thanikkal
Published on 2012-11-20T18:59:09Z Indexed on 2012/12/04 5:08 UTC
Read the original article Hit count: 467

I am trying to install postgres on EC2 / EBS. I am following this article and stuck at the following step.

sudo su -
su postgres -
/usr/pgsql-9.0/bin/initdb -D /pgdata

I cant find the initdb command located at the stated location, matter of fact i cant find the pgsql* directory at all under /usr folder.

Was this changed for Postgres 9.2 or is there an alternate command that would help me initdb?

edit 1:

I know the folder pgsql-9.0 is version specific, so i was expecting to see more like pgsql-9.2 or similar.

© Super User or respective owner

Related posts about postgresql

Related posts about amazon-ec2