Remove duplicate words in comments.

Found these with grep -r "for for ".
pull/3/head
Heikki Linnakangas 14 years ago
parent 50c2d6a1a6
commit f291ccd43e
  1. 2
      src/backend/access/spgist/spgdoinsert.c
  2. 2
      src/backend/storage/ipc/standby.c
  3. 2
      src/backend/tcop/postgres.c
  4. 2
      src/backend/utils/adt/numeric.c
  5. 2
      src/include/tsearch/dicts/regis.h

@ -818,7 +818,7 @@ doPickSplit(Relation index, SpGistState *state,
/*
* We may not actually insert new tuple because another picksplit may be
* necessary due to too large value, but we will try to to allocate enough
* necessary due to too large value, but we will try to allocate enough
* space to include it; and in any case it has to be included in the input
* for the picksplit function. So don't increment nToInsert yet.
*/

@ -283,7 +283,7 @@ ResolveRecoveryConflictWithTablespace(Oid tsid)
VirtualTransactionId *temp_file_users;
/*
* Standby users may be currently using this tablespace for for their
* Standby users may be currently using this tablespace for their
* temporary files. We only care about current users because
* temp_tablespace parameter will just ignore tablespaces that no longer
* exist.

@ -3021,7 +3021,7 @@ check_stack_depth(void)
long stack_depth;
/*
* Compute distance from reference point to to my local variables
* Compute distance from reference point to my local variables
*/
stack_depth = (long) (stack_base_ptr - &stack_top_loc);

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

@ -2,7 +2,7 @@
*
* regis.h
*
* Declarations for for fast regex subset, used by ISpell
* Declarations for fast regex subset, used by ISpell
*
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
*

Loading…
Cancel
Save