From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | initdb change |
Date: | 2008-08-25 15:40:17 |
Message-ID: | 20080825154017.GS32546@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Folks,
While initdb allows you to choose a directory for transaction logs, it
can't already exist, so it can't be in its usual place under $PGDATA.
I'd like to propose that this be allowed by having an alternate syntax
for the -X option, namely, "existing."
When -X is set to "existing", it would check whether pg_xlog is a
directory and the only thing in $PGDATA. One way to do that is to add
a new return code to check_data_dir() and a new branch of the case
statement after it's called.
What say?
Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-08-25 15:48:29 | Re: initdb change |
Previous Message | Tom Lane | 2008-08-25 15:33:57 | Re: temporary statistics option at initdb time |