Re: 8.0: Absolute path required for INITDB?
От | Bruce Momjian |
---|---|
Тема | Re: 8.0: Absolute path required for INITDB? |
Дата | |
Msg-id | 200408092039.i79KdBt01915@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: 8.0: Absolute path required for INITDB? (Josh Berkus <josh@agliodbs.com>) |
Список | pgsql-bugs |
Why don't we just throw an error if it isn't an abolute path name, rather than failing in a weird way? --------------------------------------------------------------------------- Josh Berkus wrote: > Tom, > > > Well, that does deserve investigation. But I've been initdb'ing > > frequently and not noticed any problems. What configure switches > > did you use exactly? Did you try to move the installation tree > > after configure? > > Here's the issue: if you start initdb from a directory other than PGBASE, you > can run into trouble: > > postgres@mole:/usr/local/pg80b/bin> ./initdb -D ../data > initdb: file "/usr/local/pg80b/bin/share/postgresql/postgres.bki" does not > exist > This means you have a corrupted installation or identified > the wrong directory with the invocation option -L. > postgres@mole:/usr/local/pg80b/bin> > > I don't recall having this issue with 7.4. > > -- > -Josh Berkus > Aglio Database Solutions > San Francisco > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-bugs по дате отправления: