Skip to content

Commit eda23cf

Browse files
author
Commitfest Bot
committed
[CF 5977] v1 - fix misspelling of "tranche" in dsa.h
This branch was automatically generated by a robot using patches from an email thread registered at: https://commitfest.postgresql.org/patch/5977 The branch will be overwritten each time a new patch version is posted to the thread, and also periodically to check for bitrot caused by changes on the master branch. Patch(es): https://www.postgresql.org/message-id/aKOWzsCPgrsoEG1Q@nathan Author(s): Nathan Bossart
2 parents 38c5fbd + d38b560 commit eda23cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/include/utils/dsa.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ typedef pg_atomic_uint64 dsa_pointer_atomic;
114114
dsa_allocate_extended(area, size, DSA_ALLOC_ZERO)
115115

116116
/* Create dsa_area with default segment sizes */
117-
#define dsa_create(tranch_id) \
118-
dsa_create_ext(tranch_id, DSA_DEFAULT_INIT_SEGMENT_SIZE, \
117+
#define dsa_create(tranche_id) \
118+
dsa_create_ext(tranche_id, DSA_DEFAULT_INIT_SEGMENT_SIZE, \
119119
DSA_MAX_SEGMENT_SIZE)
120120

121121
/* Create dsa_area with default segment sizes in an existing share memory space */
122-
#define dsa_create_in_place(place, size, tranch_id, segment) \
123-
dsa_create_in_place_ext(place, size, tranch_id, segment, \
122+
#define dsa_create_in_place(place, size, tranche_id, segment) \
123+
dsa_create_in_place_ext(place, size, tranche_id, segment, \
124124
DSA_DEFAULT_INIT_SEGMENT_SIZE, \
125125
DSA_MAX_SEGMENT_SIZE)
126126

0 commit comments

Comments
 (0)