Jeff Shearer, CISA, CISSP wrote:
> I have begun installing software from source and to make matters more
> complicated, this is the first time I have worked with postgresql. I have
> worked through a few problems but am now stuck with this error:
>
> FATAL: "/usr/local/etc/pgsql" is not a valid data directory
> DETAIL: File "/usr/local/etc/pgsql/PG_VERSION" is missing.
When you did what?
> I have tried to find out what should be in the data directory but was
> unsuccessful.
Just run initdb again against a new directory and have a look.
-Kevin