Re: PATCH: Exclude additional directories in pg_basebackup
От | Alvaro Herrera |
---|---|
Тема | Re: PATCH: Exclude additional directories in pg_basebackup |
Дата | |
Msg-id | 20160817163521.GA900783@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: PATCH: Exclude additional directories in pg_basebackup (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: PATCH: Exclude additional directories in pg_basebackup
|
Список | pgsql-hackers |
Robert Haas wrote: > Eh ... I doubt very much that it's safe to blow away the entire > contents of an SLRU between shutdown and startup, even if the data is > technically transient data that won't be needed again after the system > is reset. Hmm. At least async.c (pg_notify) deletes the whole directory at startup so it's fine, but for the others (pg_serial, pg_subtrans) I think it'd be saner to keep any "active" files (probably just the latest). I don't remember how pg_snapshot works, but it's probably fine to start with an empty subdir (is it possible to export a snapshot from a prepared transaction?) -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: