Re: [HACKERS] Safer auto-initdb for RPM init script

2006-08-25 Thread Peter Eisentraut
Am Freitag, 25. August 2006 15:19 schrieb Tom Lane: I don't really want to remove the auto-initdb feature from the script, because it's important not to drive away newbies by making Postgres hard to start for the first time. But I think we'd better think about ways to make it more

Re: [HACKERS] Safer auto-initdb for RPM init script

2006-08-25 Thread Magnus Hagander
I don't really want to remove the auto-initdb feature from the script, because it's important not to drive away newbies by making Postgres hard to start for the first time. But I think we'd better think about ways to make it more bulletproof. Why does initdb have to happen on startup?

Re: [HACKERS] Safer auto-initdb for RPM init script

2006-08-25 Thread Tom Lane
Magnus Hagander [EMAIL PROTECTED] writes: I don't really want to remove the auto-initdb feature from the script, because it's important not to drive away newbies by making Postgres hard to start for the first time. But I think we'd better think about ways to make it more bulletproof. Why

Re: [HACKERS] Safer auto-initdb for RPM init script

2006-08-25 Thread Peter Eisentraut
Am Freitag, 25. August 2006 16:20 schrieb Tom Lane: It eats rather a lot of disk space for a package that might just be getting loaded as part of a system install, with no likelihood of actually being used. Wouldn't the system install start the init script at the end of the installation

Re: [HACKERS] Safer auto-initdb for RPM init script

2006-08-25 Thread Gregory Stark
Tom Lane [EMAIL PROTECTED] writes: Comments? Anyone see a better way? Well the truly bullet-proof mechanism would be to check every data file on every open. You could have a header with some kind of unique tag generated at initdb time and the backend could ensure it matches the same tag in

Re: [HACKERS] Safer auto-initdb for RPM init script

2006-08-25 Thread Tom Lane
Peter Eisentraut [EMAIL PROTECTED] writes: Am Freitag, 25. August 2006 16:20 schrieb Tom Lane: It eats rather a lot of disk space for a package that might just be getting loaded as part of a system install, with no likelihood of actually being used. Wouldn't the system install start the init

Re: [HACKERS] Safer auto-initdb for RPM init script

2006-08-25 Thread Peter Eisentraut
Am Freitag, 25. August 2006 16:54 schrieb Tom Lane: No, it doesn't. (The Red Hat RPMs in fact did that ... for about a week ... until I was told in no uncertain terms that we don't start unnecessary daemons by default.) Well, there seem to be philosophical differences between the various