forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6474085
committed
Fix comments on wal_level=minimal, CREATE TABLESPACE and CREATE DATABASE.
Commit97ddda8 removed the rmtree()behavior from XLOG_TBLSPC_CREATE, obsoleting that part of the comment.The comment's point about XLOG_DBASE_CREATE was wrong when commitfa0f466 introduced the point. (Itwould have been accurate if that commit had predated commitfbcbc5d introducing the secondcheckpoint of CREATE DATABASE.) Nothing can skip log_smgrcreate() onthe basis of wal_level=minimal, so don't comment on that.Commitc6b9204 expanded WAL skippingfrom five specific operations to relfilenodes generally, hence theCreateDatabaseUsingFileCopy() comment change.Discussion:https://postgr.es/m/20231008022204.cc@rfd.leadboat.com1 parent03e9b95 commit6474085
2 files changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
608 | | - | |
609 | | - | |
610 | | - | |
| 608 | + | |
611 | 609 | | |
612 | 610 | | |
613 | 611 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
648 | | - | |
649 | | - | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
650 | 651 | | |
651 | 652 | | |
652 | 653 | | |
| |||
0 commit comments
Comments
(0)