Re: dynamic shared memory: wherein I am punished for good intentions

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: dynamic shared memory: wherein I am punished for good intentions
Дата
Msg-id
CA+Tgmoav1bYgDbZPQopS0Ak2AXJTSmr_5b1UTHyQBpaZFWpdJA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
dynamic shared memory: wherein I am punished for good intentions Robert Haas <robertmhaas@gmail.com>
Re: dynamic shared memory: wherein I am punished for good intentions David Johnston <polobo@yahoo.com>
Re: dynamic shared memory: wherein I am punished for good intentions David Fetter <david@fetter.org>
Re: dynamic shared memory: wherein I am punished for good intentions Andres Freund <andres@2ndquadrant.com>
Re: dynamic shared memory: wherein I am punished for good intentions Andrew Dunstan <andrew@dunslane.net>
Re: dynamic shared memory: wherein I am punished for good intentions Robert Haas <robertmhaas@gmail.com>
Re: dynamic shared memory: wherein I am punished for good intentions Andrew Dunstan <andrew@dunslane.net>
Re: dynamic shared memory: wherein I am punished for good intentions Claudio Freire <klaussfreire@gmail.com>
Re: dynamic shared memory: wherein I am punished for good intentions Merlin Moncure <mmoncure@gmail.com>
Re: dynamic shared memory: wherein I am punished for good intentions Robert Haas <robertmhaas@gmail.com>
Re: dynamic shared memory: wherein I am punished for good intentions Peter Geoghegan <pg@heroku.com>
Re: dynamic shared memory: wherein I am punished for good intentions Robert Haas <robertmhaas@gmail.com>
Re: dynamic shared memory: wherein I am punished for good intentions Stephen Frost <sfrost@snowman.net>
Re: dynamic shared memory: wherein I am punished for good intentions Andrew Dunstan <andrew@dunslane.net>
On Thu, Oct 10, 2013 at 5:14 PM, Josh Berkus  wrote:
>>> Doesn't #2 negate all advantages of this effort?  Bringing sysv
>>> management back on the table seems like a giant step backwards -- or
>>> am I missing something?
>>
>> Not unless there's no difference between "the default" and "the only option".
>
> Well, per our earlier discussion about "the first 15 minutes", there
> actually isn't a difference.

Harsh.  :-)

> I can only see two reasonable alternatives:
>
> This one:
>> (3) Add a new setting that auto-probes for a type of shared memory
>> that works.  Try POSIX first, then System V.  Maybe even fall back to
>> mmap'd files if neither of those works.
>
> Or:
>
> (5) Default to POSIX, and allow for SysV as a compile-time option for
> platforms with poor POSIX memory support.

OK, I did #5.  Let's see how that works.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
От: Josh Berkus
Дата:
FAQ