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

Commit f291ccd

Browse files
committed
Remove duplicate words in comments.
Found these with grep -r "for for ".
1 parent 50c2d6a commit f291ccd

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/backend/access/spgist/spgdoinsert.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ doPickSplit(Relation index, SpGistState *state,
818818

819819
/*
820820
* We may not actually insert new tuple because another picksplit may be
821-
* necessary due to too large value, but we will try to to allocate enough
821+
* necessary due to too large value, but we will try to allocate enough
822822
* space to include it; and in any case it has to be included in the input
823823
* for the picksplit function. So don't increment nToInsert yet.
824824
*/

src/backend/storage/ipc/standby.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ ResolveRecoveryConflictWithTablespace(Oid tsid)
283283
VirtualTransactionId *temp_file_users;
284284

285285
/*
286-
* Standby users may be currently using this tablespace for for their
286+
* Standby users may be currently using this tablespace for their
287287
* temporary files. We only care about current users because
288288
* temp_tablespace parameter will just ignore tablespaces that no longer
289289
* exist.

src/backend/tcop/postgres.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3021,7 +3021,7 @@ check_stack_depth(void)
30213021
long stack_depth;
30223022

30233023
/*
3024-
* Compute distance from reference point to to my local variables
3024+
* Compute distance from reference point to my local variables
30253025
*/
30263026
stack_depth = (long) (stack_base_ptr - &stack_top_loc);
30273027

src/backend/utils/adt/numeric.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3503,7 +3503,7 @@ get_str_from_var(NumericVar *var, int dscale)
35033503
/*
35043504
* Allocate space for the result.
35053505
*
3506-
* i is set to to # of decimal digits before decimal point. dscale is the
3506+
* i is set to the # of decimal digits before decimal point. dscale is the
35073507
* # of decimal digits we will print after decimal point. We may generate
35083508
* as many as DEC_DIGITS-1 excess digits at the end, and in addition we
35093509
* need room for sign, decimal point, null terminator.

src/include/tsearch/dicts/regis.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* regis.h
44
*
5-
* Declarations for for fast regex subset, used by ISpell
5+
* Declarations for fast regex subset, used by ISpell
66
*
77
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
88
*

0 commit comments

Comments
 (0)