-
- Downloads
Add WAL logging for CREATE/DROP DATABASE and CREATE/DROP TABLESPACE.
Fix TablespaceCreateDbspace() to be able to create a dummy directory in place of a dropped tablespace's symlink. This eliminates the open problem of a PANIC during WAL replay when a replayed action attempts to touch a file in a since-deleted tablespace. It also makes for a significant improvement in the usability of PITR replay.
Showing
- doc/src/sgml/backup.sgml 3 additions, 11 deletionsdoc/src/sgml/backup.sgml
- src/backend/access/transam/rmgr.c 7 additions, 5 deletionssrc/backend/access/transam/rmgr.c
- src/backend/commands/dbcommands.c 146 additions, 4 deletionssrc/backend/commands/dbcommands.c
- src/backend/commands/tablespace.c 239 additions, 54 deletionssrc/backend/commands/tablespace.c
- src/include/access/rmgr.h 3 additions, 1 deletionsrc/include/access/rmgr.h
- src/include/commands/dbcommands.h 26 additions, 2 deletionssrc/include/commands/dbcommands.h
- src/include/commands/tablespace.h 23 additions, 6 deletionssrc/include/commands/tablespace.h
- src/include/port.h 2 additions, 1 deletionsrc/include/port.h
- src/port/path.c 34 additions, 22 deletionssrc/port/path.c
Loading
Please register or sign in to comment