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

Commit821fb8c

Browse files
committed
Message style fixes
1 parent3c43595 commit821fb8c

File tree

34 files changed

+100
-101
lines changed

34 files changed

+100
-101
lines changed

‎doc/src/sgml/catalogs.sgml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6453,7 +6453,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</>:<replaceable>&lt;salt&gt;<
64536453
<entry><type>char[]</type></entry>
64546454
<entry></entry>
64556455
<entry>
6456-
An array containing codes for the enabled statistictypes;
6456+
An array containing codes for the enabled statistickinds;
64576457
valid values are:
64586458
<literal>d</literal> for n-distinct statistics,
64596459
<literal>f</literal> for functional dependency statistics

‎doc/src/sgml/perform.sgml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,15 +1107,15 @@ WHERE tablename = 'road';
11071107
</para>
11081108

11091109
<para>
1110-
The following subsections describe thetypes of extended statistics
1110+
The following subsections describe thekinds of extended statistics
11111111
that are currently supported.
11121112
</para>
11131113

11141114
<sect3>
11151115
<title>Functional Dependencies</title>
11161116

11171117
<para>
1118-
The simplesttype of extended statistics tracks <firstterm>functional
1118+
The simplestkind of extended statistics tracks <firstterm>functional
11191119
dependencies</>, a concept used in definitions of database normal forms.
11201120
We say that column <structfield>b</> is functionally dependent on
11211121
column <structfield>a</> if knowledge of the value of

‎doc/src/sgml/ref/create_statistics.sgml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ PostgreSQL documentation
2222
<refsynopsisdiv>
2323
<synopsis>
2424
CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_name</replaceable>
25-
[ ( <replaceable class="PARAMETER">statistic_type</replaceable> [, ... ] ) ]
25+
[ ( <replaceable class="PARAMETER">statistics_kind</replaceable> [, ... ] ) ]
2626
ON <replaceable class="PARAMETER">column_name</replaceable>, <replaceable class="PARAMETER">column_name</replaceable> [, ...]
2727
FROM <replaceable class="PARAMETER">table_name</replaceable>
2828
</synopsis>
@@ -76,15 +76,15 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_na
7676
</varlistentry>
7777

7878
<varlistentry>
79-
<term><replaceable class="PARAMETER">statistic_type</replaceable></term>
79+
<term><replaceable class="PARAMETER">statistics_kind</replaceable></term>
8080
<listitem>
8181
<para>
82-
Astatistic type to be computed in this statistics object.
83-
Currently supportedtypes are
82+
Astatistics kind to be computed in this statistics object.
83+
Currently supportedkinds are
8484
<literal>ndistinct</literal>, which enables n-distinct statistics, and
8585
<literal>dependencies</literal>, which enables functional
8686
dependency statistics.
87-
If this clause is omitted, all supportedstatistic types are
87+
If this clause is omitted, all supportedstatistics kinds are
8888
included in the statistics object.
8989
For more information, see <xref linkend="planner-stats-extended">
9090
and <xref linkend="multivariate-statistics-examples">.

‎doc/src/sgml/ref/psql-ref.sgml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3629,7 +3629,7 @@ bar
36293629
will terminate the application. If set to a larger numeric value,
36303630
that many consecutive <acronym>EOF</> characters must be typed to
36313631
make an interactive session terminate. If the variable is set to a
3632-
non-numeric value, it is interpreted as 10.
3632+
non-numeric value, it is interpreted as 10. The default is 0.
36333633
</para>
36343634
<note>
36353635
<para>

‎src/backend/access/transam/twophase.c‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,14 +2031,14 @@ ProcessTwoPhaseBuffer(TransactionId xid,
20312031
if (fromdisk)
20322032
{
20332033
ereport(WARNING,
2034-
(errmsg("removing stale two-phase state file for\"%u\"",
2034+
(errmsg("removing stale two-phase state file fortransaction %u",
20352035
xid)));
20362036
RemoveTwoPhaseFile(xid, true);
20372037
}
20382038
else
20392039
{
20402040
ereport(WARNING,
2041-
(errmsg("removing stale two-phase state fromsharedmemory for\"%u\"",
2041+
(errmsg("removing stale two-phase state from memory fortransaction %u",
20422042
xid)));
20432043
PrepareRedoRemove(xid, true);
20442044
}
@@ -2051,14 +2051,14 @@ ProcessTwoPhaseBuffer(TransactionId xid,
20512051
if (fromdisk)
20522052
{
20532053
ereport(WARNING,
2054-
(errmsg("removing future two-phase state file for\"%u\"",
2054+
(errmsg("removing future two-phase state file fortransaction %u",
20552055
xid)));
20562056
RemoveTwoPhaseFile(xid, true);
20572057
}
20582058
else
20592059
{
20602060
ereport(WARNING,
2061-
(errmsg("removing future two-phase state from memory for\"%u\"",
2061+
(errmsg("removing future two-phase state from memory fortransaction %u",
20622062
xid)));
20632063
PrepareRedoRemove(xid, true);
20642064
}
@@ -2072,7 +2072,7 @@ ProcessTwoPhaseBuffer(TransactionId xid,
20722072
if (buf==NULL)
20732073
{
20742074
ereport(WARNING,
2075-
(errmsg("removing corrupt two-phase state file for\"%u\"",
2075+
(errmsg("removing corrupt two-phase state file fortransaction %u",
20762076
xid)));
20772077
RemoveTwoPhaseFile(xid, true);
20782078
returnNULL;
@@ -2091,14 +2091,14 @@ ProcessTwoPhaseBuffer(TransactionId xid,
20912091
if (fromdisk)
20922092
{
20932093
ereport(WARNING,
2094-
(errmsg("removing corrupt two-phase state file for\"%u\"",
2094+
(errmsg("removing corrupt two-phase state file fortransaction %u",
20952095
xid)));
20962096
RemoveTwoPhaseFile(xid, true);
20972097
}
20982098
else
20992099
{
21002100
ereport(WARNING,
2101-
(errmsg("removing corrupt two-phase state from memory for\"%u\"",
2101+
(errmsg("removing corrupt two-phase state from memory fortransaction %u",
21022102
xid)));
21032103
PrepareRedoRemove(xid, true);
21042104
}

‎src/backend/access/transam/xlog.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8658,7 +8658,7 @@ CreateCheckPoint(int flags)
86588658
LWLockRelease(CheckpointLock);
86598659
END_CRIT_SECTION();
86608660
ereport(DEBUG1,
8661-
(errmsg("checkpoint skippeddue to an idle system")));
8661+
(errmsg("checkpoint skippedbecause system is idle")));
86628662
return;
86638663
}
86648664
}

‎src/backend/commands/publicationcmds.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ parse_publication_options(List *options,
103103
if (!SplitIdentifierString(publish,',',&publish_list))
104104
ereport(ERROR,
105105
(errcode(ERRCODE_SYNTAX_ERROR),
106-
errmsg("invalid publish list")));
106+
errmsg("invalidlist syntax for \"publish\" option")));
107107

108108
/* Process the option list. */
109109
foreach(lc,publish_list)

‎src/backend/commands/statscmds.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ CreateStatistics(CreateStatsStmt *stmt)
180180
if (!HeapTupleIsValid(atttuple))
181181
ereport(ERROR,
182182
(errcode(ERRCODE_UNDEFINED_COLUMN),
183-
errmsg("column \"%s\"referenced in statisticsdoes not exist",
183+
errmsg("column \"%s\" does not exist",
184184
attname)));
185185
attForm= (Form_pg_attribute)GETSTRUCT(atttuple);
186186

@@ -195,8 +195,8 @@ CreateStatistics(CreateStatsStmt *stmt)
195195
if (type->lt_opr==InvalidOid)
196196
ereport(ERROR,
197197
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
198-
errmsg("column \"%s\" cannot be used in statistics because its type has no default btree operator class",
199-
attname)));
198+
errmsg("column \"%s\" cannot be used in statistics because its type%shas no default btree operator class",
199+
attname,format_type_be(attForm->atttypid))));
200200

201201
/* Make sure no more than STATS_MAX_DIMENSIONS columns are used */
202202
if (numcols >=STATS_MAX_DIMENSIONS)
@@ -242,7 +242,7 @@ CreateStatistics(CreateStatsStmt *stmt)
242242
stxkeys=buildint2vector(attnums,numcols);
243243

244244
/*
245-
* Parse the statisticstypes.
245+
* Parse the statisticskinds.
246246
*/
247247
build_ndistinct= false;
248248
build_dependencies= false;
@@ -263,7 +263,7 @@ CreateStatistics(CreateStatsStmt *stmt)
263263
else
264264
ereport(ERROR,
265265
(errcode(ERRCODE_SYNTAX_ERROR),
266-
errmsg("unrecognizedstatistic type \"%s\"",
266+
errmsg("unrecognizedstatistics kind \"%s\"",
267267
type)));
268268
}
269269
/* If no statistic type was specified, build them all. */

‎src/backend/commands/tablecmds.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13859,7 +13859,7 @@ ATExecAttachPartition(List **wqueue, Relation rel, PartitionCmd *cmd)
1385913859
errmsg("table \"%s\" contains column \"%s\" not found in parent \"%s\"",
1386013860
RelationGetRelationName(attachrel),attributeName,
1386113861
RelationGetRelationName(rel)),
13862-
errdetail("Newpartitionshould contain only the columns present in parent.")));
13862+
errdetail("The newpartitionmay contain only the columns present in parent.")));
1386313863
}
1386413864

1386513865
/*

‎src/backend/commands/trigger.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ CreateTrigger(CreateTrigStmt *stmt, const char *queryString,
416416
(TRIGGER_FOR_DELETE(tgtype) ?1 :0))!=1)
417417
ereport(ERROR,
418418
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
419-
errmsg("Transition tables cannot be specified for triggers with more than one event")));
419+
errmsg("transition tables cannot be specified for triggers with more than one event")));
420420

421421
if (tt->isNew)
422422
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp