Skip to content

Commit b976845

Browse files
committed
Fix double-word typos
Discussion: https://postgr.es/m/20190612184527.GA24266@alvherre.pgsql Reviewed-by: Michaël Paquier
1 parent 4f41a72 commit b976845

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

doc/src/sgml/backup.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ SELECT * FROM pg_stop_backup(false, true);
965965
backups. Moreover, because it writes a backup_label file on the
966966
master, it can cause the master to fail to restart automatically after
967967
a crash. On the other hand, the erroneous removal of a backup_label
968-
file from a backup or standby is a common mistake which can can result
968+
file from a backup or standby is a common mistake which can result
969969
in serious data corruption. If it is necessary to use this method,
970970
the following steps may be used.
971971
</para>

src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4051,8 +4051,8 @@ dumpPublicationTable(Archive *fout, PublicationRelInfo *pubrinfo)
40514051
fmtQualifiedDumpable(tbinfo));
40524052

40534053
/*
4054-
* There is no point in creating drop query as drop query as the drop is
4055-
* done by table drop.
4054+
* There is no point in creating drop query as the drop is done by table
4055+
* drop.
40564056
*/
40574057
ArchiveEntry(fout, pubrinfo->dobj.catId, pubrinfo->dobj.dumpId,
40584058
ARCHIVE_OPTS(.tag = tag,

src/include/executor/tuptable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
* also that a virtual tuple does not have any "system columns".
6060
*
6161
* The Datum/isnull arrays of a TupleTableSlot serve double duty. For virtual
62-
* slots they they are the authoritative data. For the other builtin slots,
62+
* slots they are the authoritative data. For the other builtin slots,
6363
* the arrays contain data extracted from the tuple. (In this state, any
6464
* pass-by-reference Datums point into the physical tuple.) The extracted
6565
* information is built "lazily", ie, only as needed. This serves to avoid

src/include/fmgr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ typedef struct FunctionCallInfoBaseData
9696
} FunctionCallInfoBaseData;
9797

9898
/*
99-
* Space needed for for a FunctionCallInfoBaseData struct with sufficient space
99+
* Space needed for a FunctionCallInfoBaseData struct with sufficient space
100100
* for `nargs` arguments.
101101
*/
102102
#define SizeForFunctionCallInfo(nargs) \

src/include/utils/snapshot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ typedef enum SnapshotType
6969
SNAPSHOT_ANY,
7070

7171
/*
72-
* A tuple is visible iff the tuple tuple is valid as a TOAST row.
72+
* A tuple is visible iff the tuple is valid as a TOAST row.
7373
*/
7474
SNAPSHOT_TOAST,
7575

src/interfaces/ecpg/preproc/type.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ ECPGdump_a_struct(FILE *o, const char *name, const char *ind_name, char *arrsize
582582
{
583583
/*
584584
* If offset is NULL, then this is the first recursive level. If not then
585-
* we are in a struct in a struct and the offset is used as offset.
585+
* we are in a struct and the offset is used as offset.
586586
*/
587587
struct ECPGstruct_member *p,
588588
*ind_p = NULL;

src/test/modules/test_integerset/test_integerset.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ test_pattern(const test_spec *spec)
246246
* last integer that we added to the set, plus an arbitrary constant
247247
* (1000). There's no point in probing the whole 0 - 2^64 range, if
248248
* only a small part of the integer space is used. We would very
249-
* rarely hit hit values that are actually in the set.
249+
* rarely hit values that are actually in the set.
250250
*/
251251
x = (pg_lrand48() << 31) | pg_lrand48();
252252
x = x % (last_int + 1000);
@@ -337,8 +337,8 @@ test_single_value(uint64 value)
337337
elog(ERROR, "intset_num_entries returned " UINT64_FORMAT ", expected 1", num_entries);
338338

339339
/*
340-
* Test intset_is_member() at various special values, like 0 and and
341-
* maximum possible 64-bit integer, as well as the value itself.
340+
* Test intset_is_member() at various special values, like 0 and maximum
341+
* possible 64-bit integer, as well as the value itself.
342342
*/
343343
if (intset_is_member(intset, 0) != (value == 0))
344344
elog(ERROR, "intset_is_member failed for 0");

src/test/recovery/t/013_crash_restart.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185

186186

187187
# kill with SIGKILL this time - we expect the backend to exit, without
188-
# being able to emit an error error message
188+
# being able to emit an error message
189189
$ret = TestLib::system_log('pg_ctl', 'kill', 'KILL', $pid);
190190
is($ret, 0, "killed process with KILL");
191191

src/test/regress/expected/polygon.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ SET enable_bitmapscan = OFF;
6969
CREATE TEMP TABLE quad_poly_tbl_ord_seq2 AS
7070
SELECT rank() OVER (ORDER BY p <-> point '123,456') n, p <-> point '123,456' dist, id
7171
FROM quad_poly_tbl WHERE p <@ polygon '((300,300),(400,600),(600,500),(700,200))';
72-
-- check results results from index scan
72+
-- check results from index scan
7373
SET enable_seqscan = OFF;
7474
SET enable_indexscan = OFF;
7575
SET enable_bitmapscan = ON;

src/test/regress/sql/polygon.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ CREATE TEMP TABLE quad_poly_tbl_ord_seq2 AS
6666
SELECT rank() OVER (ORDER BY p <-> point '123,456') n, p <-> point '123,456' dist, id
6767
FROM quad_poly_tbl WHERE p <@ polygon '((300,300),(400,600),(600,500),(700,200))';
6868

69-
-- check results results from index scan
69+
-- check results from index scan
7070
SET enable_seqscan = OFF;
7171
SET enable_indexscan = OFF;
7272
SET enable_bitmapscan = ON;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy