![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
If a relative path is used for the -L option in initdb, the following fatal error happens: |
#2
| |||
| |||
|
|
It might be worth absolut-izing this path in initdb before it's passed down, but I can't get exceedingly excited about it. |
#3
| |||
| |||
|
|
Why would it matter? I don't think I've ever once had occasion to use the -L switch in initdb, because it figures it out just fine for itself. People who are using it should be wizardly enough to know about the chdir. |
#4
| |||
| |||
|
|
It might be worth absolut-izing this path in initdb before it's passed down, but I can't get exceedingly excited about it. Well, once again let me check the docs to make sure people are warned about this .... |
#5
| |||
| |||
|
|
Oh. Then I have a different bug to report, because INITDB for Sunday's CVS would not run without the -L option. |
#6
| |||
| |||
|
|
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? |
#7
| |||
| |||
|
|
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? |
#8
| |||
| |||
|
|
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 |
|
I don't recall having this issue with 7.4. |
#9
| |||
| |||
|
|
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 (AT) postgresql (DOT) org so that your message can get through to the mailing list cleanly |
#10
| |||
| |||
|
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |