Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb976845

Browse files
committed
Fix double-word typos
Discussion:https://postgr.es/m/20190612184527.GA24266@alvherre.pgsqlReviewed-by: Michaël Paquier
1 parent4f41a72 commitb976845

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 cancanresult
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 asdrop query asthe drop is
4055-
*done by tabledrop.
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 theytheyare 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 forfora FunctionCallInfoBaseData struct with sufficient space
99+
* Space needed for a FunctionCallInfoBaseData struct with sufficient space
100100
* for `nargs` arguments.
101101
*/
102102
#defineSizeForFunctionCallInfo(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 tupletupleis 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 structin a structand the offset is used as offset.
585+
* we are in a struct and the offset is used as offset.
586586
*/
587587
structECPGstruct_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 hithitvalues 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 andand
341-
*maximumpossible 64-bit integer, as well as the value itself.
340+
* Test intset_is_member() at various special values, like 0 andmaximum
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 errorerrormessage
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 resultsresultsfrom 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_tblWHERE p<@polygon'((300,300),(400,600),(600,500),(700,200))';
6868

69-
-- check resultsresultsfrom 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)

[8]ページ先頭

©2009-2025 Movatter.jp