From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Kevin Grittner <kgrittn(at)ymail(dot)com> |
Cc: | Sean Chittenden <sean(at)chittenden(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: src/ports/pgcheckdir.c - Ignore dot directories... |
Date: | 2013-02-05 13:49:17 |
Message-ID: | 51110DDD.8090603@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2/5/13 7:32 AM, Kevin Grittner wrote:
> Sean Chittenden <sean(at)chittenden(dot)org> wrote:
>
>> > Currently src/port/pgcheckdir.c will reject non-empty
>> > directories, which is an issue during initdb(1) when PGDATA is
>> > also the mount point for filesystems that support snapshots (e.g.
>> > ZFS or UFS2).
>> > Granted it's not hard to create a subdirectory, initdb there and
>> > move the contents of the files around, it's extra work that
>> > shouldn't be required.
> I feel that it is very bad practice to use the mount point as the
> PGDATA directory. It forcloses a lot of reasonable actions that
> someone managing the database server might want to take.
Yes, a variant of this particular patch gets rejected about once every
18 months.
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2013-02-05 13:50:44 | Re: src/ports/pgcheckdir.c - Ignore dot directories... |
Previous Message | Andrew Dunstan | 2013-02-05 13:46:24 | Re: src/ports/pgcheckdir.c - Ignore dot directories... |