Re: src/ports/pgcheckdir.c - Ignore dot directories...

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Kevin Grittner <kgrittn(at)ymail(dot)com>, 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 14:14:30
Message-ID: CA+U5nMJ3JQZA5krkLjLu6aDMZPP+09on2mBTu3_pNU3ORagxpg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5 February 2013 13:50, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
> On 02/05/2013 08:32 PM, Kevin Grittner wrote:
>
>> I would rather add a sentence or two to the
>> initdb documentation recommending that a cluster not be created at
>> a mount point; it should be created in a directory underneath the
>> mount point.
> That makes a great deal of sense, actually. There's no meaningful
> advantage to creating the cluster at the mountpoint root, and even if
> you wanted to you could (on Linux) use bind mounts to make it at the
> root of a mount without being at the root of a filesystem.

How about we allow Sean's patch insomuch as it can detect files
beginning with dots and throw an error message explaining what the
best practice is instead.

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sean Chittenden 2013-02-05 14:16:01 Re: src/ports/pgcheckdir.c - Ignore dot directories...
Previous Message Phil Sorber 2013-02-05 14:08:27 Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)