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

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: src/ports/pgcheckdir.c - Ignore dot directories...
Дата
Msg-id CA+U5nMJ3JQZA5krkLjLu6aDMZPP+09on2mBTu3_pNU3ORagxpg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: src/ports/pgcheckdir.c - Ignore dot directories...  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
On 5 February 2013 13:50, Craig Ringer <craig@2ndquadrant.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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Phil Sorber
Дата:
Сообщение: Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)
Следующее
От: Sean Chittenden
Дата:
Сообщение: Re: src/ports/pgcheckdir.c - Ignore dot directories...