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

Commit5f6401f

Browse files
committed
Fix typos in code and comments
Author: Justin PryzbyDiscussion:https://postgr.es/m/20230110045722.GD9837@telsasoft.com
1 parent69fb29d commit5f6401f

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

‎doc/src/sgml/ref/alter_database.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ ALTER DATABASE <replaceable class="parameter">name</replaceable> RESET ALL
211211
<term><literal>USER SET</literal></term>
212212
<listitem>
213213
<para>
214-
Specifies that variable should be set on behalf of ordinary role.
215-
Thatlets non-superuser and non-replicationrole to set placeholder
216-
variables,with permission requirementsis not known yet;
214+
Specifies thatthevariable should be set on behalf of an ordinary role.
215+
Thatallows non-superuser and non-replicationroles to set placeholder
216+
variables,whose permission requirementsare not known yet;
217217
see <xref linkend="runtime-config-custom"/>. The variable won't
218218
be set if it appears to require superuser privileges.
219219
</para>

‎doc/src/sgml/ref/alter_role.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | A
241241
<term><literal>USER SET</literal></term>
242242
<listitem>
243243
<para>
244-
Specifies that variable should be set on behalf of ordinary role.
245-
Thatlets non-superuser and non-replicationrole to set placeholder
246-
variables,with permission requirementsis not known yet;
244+
Specifies thatthevariable should be set on behalf of an ordinary role.
245+
Thatallows non-superuser and non-replicationroles to set placeholder
246+
variables,whose permission requirementsare not known yet;
247247
see <xref linkend="runtime-config-custom"/>. The variable won't
248248
be set if it appears to require superuser privileges.
249249
</para>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,8 +1901,8 @@ INSERT INTO tbl1 VALUES ($1, $2) \bind 'first value' 'second value' \g
19011901
</para>
19021902

19031903
<para>
1904-
Since <productname>PostgreSQL</productname> 16 the output includes
1905-
column with the values of
1904+
Since <productname>PostgreSQL</productname> 16, the output includes a
1905+
column with the values of the
19061906
<link linkend="sql-alterrole-user-set"><literal>USER SET</literal></link>
19071907
flag for each setting.
19081908
</para>

‎doc/src/sgml/system-views.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@
15801580
</para>
15811581

15821582
<para>
1583-
Aspecualtive insertion lock consists of a transaction ID and a speculative
1583+
Aspeculative insertion lock consists of a transaction ID and a speculative
15841584
insertion token. The speculative insertion token is displayed in the
15851585
<structfield>objid</structfield> column.
15861586
</para>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2114,7 +2114,7 @@ CheckRecoveryConsistency(void)
21142114

21152115
/*
21162116
* Check that pg_tblspc doesn't contain any real directories. Replay
2117-
* of Database/CREATE_* records may have createdficticious tablespace
2117+
* of Database/CREATE_* records may have createdfictitious tablespace
21182118
* directories that should have been removed by the time consistency
21192119
* was reached.
21202120
*/

‎src/backend/utils/mmgr/mcxt.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -717,10 +717,10 @@ MemoryContextStatsDetail(MemoryContext context, int max_children,
717717
* to the connected client.
718718
*
719719
* We don't buffer the information about all memory contexts in a
720-
* backend into StringInfo and log it as one message.Otherwise which
721-
*mayrequire the buffer to be enlarged very much and lead to OOM
722-
*error since there canbe a large number of memory contexts in a
723-
*backend. Instead, welog one message per memory context.
720+
* backend into StringInfo and log it as one message. That would
721+
* require the buffer to be enlarged, risking an OOM as there could
722+
* be a large number of memory contexts in a backend. Instead, we
723+
* log one message per memory context.
724724
*/
725725
ereport(LOG_SERVER_ONLY,
726726
(errhidestmt(true),

‎src/bin/psql/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1447,7 +1447,7 @@ ExecQueryAndProcessResults(const char *query,
14471447
if (!AcceptResult(result, false))
14481448
{
14491449
/*
1450-
* Some erroroccured, either a server-side failure or a failure
1450+
* Some erroroccurred, either a server-side failure or a failure
14511451
* to submit the command string. Record that.
14521452
*/
14531453
constchar*error=PQresultErrorMessage(result);

‎src/test/modules/test_pg_db_role_setting/expected/test_pg_db_role_setting.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ SHOW test_pg_db_role_setting.user_param;
122122
bbb
123123
(1 row)
124124

125-
-- module is loaded, and placeholder values aresuccesfully set
125+
-- module is loaded, and placeholder values aresuccessfully set
126126
SELECT load_test_pg_db_role_setting();
127127
load_test_pg_db_role_setting
128128
------------------------------

‎src/test/modules/test_pg_db_role_setting/sql/test_pg_db_role_setting.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ALTER ROLE regress_regular_user SET test_pg_db_role_setting.superuser_param = 'c
5656
SHOWtest_pg_db_role_setting.superuser_param;
5757
SHOWtest_pg_db_role_setting.user_param;
5858

59-
-- module is loaded, and placeholder values aresuccesfully set
59+
-- module is loaded, and placeholder values aresuccessfully set
6060
SELECT load_test_pg_db_role_setting();
6161

6262
SHOWtest_pg_db_role_setting.superuser_param;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp