git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 38c5fbd)
Fix misspelling of "tranche" in dsa.h.
2025年8月19日 15:43:15 +0000 (10:43 -0500)
2025年8月19日 15:43:15 +0000 (10:43 -0500)
Oversight in commit bb952c8c8b.

Discussion: https://postgr.es/m/aKOWzsCPgrsoEG1Q%40nathan


diff --git a/src/include/utils/dsa.h b/src/include/utils/dsa.h
index 0a6067be6288b878e594b6638baedc7c02624052..f2104dacbfcc515ee4b2fad9121608a9417983ab 100644 (file)
--- a/src/include/utils/dsa.h
+++ b/src/include/utils/dsa.h
@@ -114,13 +114,13 @@ typedef pg_atomic_uint64 dsa_pointer_atomic;
dsa_allocate_extended(area, size, DSA_ALLOC_ZERO)
/* Create dsa_area with default segment sizes */
-#define dsa_create(tranch_id) \
- dsa_create_ext(tranch_id, DSA_DEFAULT_INIT_SEGMENT_SIZE, \
+#define dsa_create(tranche_id) \
+ dsa_create_ext(tranche_id, DSA_DEFAULT_INIT_SEGMENT_SIZE, \
DSA_MAX_SEGMENT_SIZE)
/* Create dsa_area with default segment sizes in an existing share memory space */
-#define dsa_create_in_place(place, size, tranch_id, segment) \
- dsa_create_in_place_ext(place, size, tranch_id, segment, \
+#define dsa_create_in_place(place, size, tranche_id, segment) \
+ dsa_create_in_place_ext(place, size, tranche_id, segment, \
DSA_DEFAULT_INIT_SEGMENT_SIZE, \
DSA_MAX_SEGMENT_SIZE)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /