diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-07-16 13:23:53 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-07-16 13:23:53 +0900 |
commit | 0896ae561b6c799d45cb61d8a3b18fbb442130a7 (patch) | |
tree | cf4204ef18047e3c1eac4e9daa320156b106a374 /src/backend/utils/mmgr/dsa.c | |
parent | 4c3d05d875dd173a81a995c6e14d69496b467eec (diff) | |
download | postgresql-0896ae561b6c799d45cb61d8a3b18fbb442130a7.tar.gz postgresql-0896ae561b6c799d45cb61d8a3b18fbb442130a7.zip |
Fix inconsistencies and typos in the tree
This is numbered take 7, and addresses a set of issues around:
- Fixes for typos and incorrect reference names.
- Removal of unneeded comments.
- Removal of unreferenced functions and structures.
- Fixes regarding variable name consistency.
Author: Alexander Lakhin
Discussion: https://postgr.es/m/10bfd4ac-3e7c-40ab-2b2e-355ed15495e8@gmail.com
Diffstat (limited to 'src/backend/utils/mmgr/dsa.c')
-rw-r--r-- | src/backend/utils/mmgr/dsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/mmgr/dsa.c b/src/backend/utils/mmgr/dsa.c index 900cd8357ca..6590e55a241 100644 --- a/src/backend/utils/mmgr/dsa.c +++ b/src/backend/utils/mmgr/dsa.c @@ -2235,8 +2235,8 @@ check_for_freed_segments(dsa_area *area) /* * Any other process that has freed a segment has incremented - * free_segment_counter while holding an LWLock, and that must precede any - * backend creating a new segment in the same slot while holding an + * freed_segment_counter while holding an LWLock, and that must precede + * any backend creating a new segment in the same slot while holding an * LWLock, and that must precede the creation of any dsa_pointer pointing * into the new segment which might reach us here, and the caller must * have sent the dsa_pointer to this process using appropriate memory |