Re: Proposing pg_hibernate

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Re: Proposing pg_hibernate
Дата
Msg-id CAK3UJRGKOzx_pO+QESNKncHRVZeaNfeueJDM+L41aKcKNogPqw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proposing pg_hibernate  (Gurjeet Singh <gurjeet@singh.im>)
Ответы Re: Proposing pg_hibernate
Список pgsql-hackers
On Tue, May 27, 2014 at 10:01 PM, Gurjeet Singh <gurjeet@singh.im> wrote:

> When the Postgres server is being stopped/shut down, the `Buffer
> Saver` scans the
> shared-buffers of Postgres, and stores the unique block identifiers of
> each cached
> block to the disk. This information is saved under the `$PGDATA/pg_hibernator/`
> directory. For each of the database whose blocks are resident in shared buffers,
> one file is created; for eg.: `$PGDATA/pg_hibernator/2.postgres.save`.

This file-naming convention seems a bit fragile. For example, on my
filesystem (HFS) if I create a database named "foo / bar", I'll get a
complaint like:

ERROR:  could not open "pg_hibernator/5.foo / bar.save": No such file
or directory

during shutdown.

Josh



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] unable to build postgres-9.4 in os x 10.9 with python
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: recovery testing for beta