Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 48658a1

Browse files
committed
Fix some typos
Josh Kupershmidt
1 parent 33e9915 commit 48658a1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

contrib/unaccent/unaccent.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ unaccent_lexize(PG_FUNCTION_ARGS)
281281
{
282282
if (!res)
283283
{
284-
/* allocate res only it it's needed */
284+
/* allocate res only if it's needed */
285285
res = palloc0(sizeof(TSLexeme) * 2);
286286
res->lexeme = trgchar = palloc(len * pg_database_encoding_max_length() + 1 /* \0 */ );
287287
res->flags = TSL_FILTER;

src/backend/access/transam/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ If a subtransaction requires an XID, we always first assign one to its
197197
parent. This maintains the invariant that child transactions have XIDs later
198198
than their parents, which is assumed in a number of places.
199199

200-
The subsidiary actions of obtaining a lock on the XID and and entering it into
200+
The subsidiary actions of obtaining a lock on the XID and entering it into
201201
pg_subtrans and PG_PROC are done at the time it is assigned.
202202

203203
A transaction that has no XID still needs to be identified for various

src/backend/postmaster/postmaster.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2506,7 +2506,7 @@ reaper(SIGNAL_ARGS)
25062506
* Was it the archiver? If so, just try to start a new one; no need
25072507
* to force reset of the rest of the system. (If fail, we'll try
25082508
* again in future cycles of the main loop.). Unless we were waiting
2509-
* for it to shut down; don't restart it in that case, and and
2509+
* for it to shut down; don't restart it in that case, and
25102510
* PostmasterStateMachine() will advance to the next shutdown step.
25112511
*/
25122512
if (pid == PgArchPID)

0 commit comments

Comments
 (0)