pgsql: WAL must log CREATE and DROP DATABASE operations *without* using
В списке pgsql-committers по дате отправления:
| От | tgl@svr1.postgresql.org (Tom Lane) |
|---|---|
| Тема | pgsql: WAL must log CREATE and DROP DATABASE operations *without* using |
| Дата | |
| Msg-id | 20050323000342.D94655678B@svr1.postgresql.org обсуждение |
| Список | pgsql-committers |
Log Message:
-----------
WAL must log CREATE and DROP DATABASE operations *without* using any
explicit paths, so that the log can be replayed in a data directory
with a different absolute path than the original had. To avoid forcing
initdb in the 8.0 branch, continue to accept the old WAL log record
types; they will never again be generated however, and the code can be
dropped after the next forced initdb. Per report from Oleg Bartunov.
We still need to think about what it really means to WAL-log CREATE
TABLESPACE commands: we more or less have to put the absolute path
into those, but how to replay in a different context??
Modified Files:
--------------
pgsql/src/backend/commands:
dbcommands.c (r1.154 -> r1.155)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c.diff?r1=1.154&r2=1.155)
pgsql/src/include/commands:
dbcommands.h (r1.36 -> r1.37)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/commands/dbcommands.h.diff?r1=1.36&r2=1.37)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера