mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Fix typos in code and comments
Author: Justin Pryzby Discussion: https://postgr.es/m/20230110045722.GD9837@telsasoft.com
This commit is contained in:
@@ -2114,7 +2114,7 @@ CheckRecoveryConsistency(void)
|
||||
|
||||
/*
|
||||
* Check that pg_tblspc doesn't contain any real directories. Replay
|
||||
* of Database/CREATE_* records may have created ficticious tablespace
|
||||
* of Database/CREATE_* records may have created fictitious tablespace
|
||||
* directories that should have been removed by the time consistency
|
||||
* was reached.
|
||||
*/
|
||||
|
||||
@@ -717,10 +717,10 @@ MemoryContextStatsDetail(MemoryContext context, int max_children,
|
||||
* to the connected client.
|
||||
*
|
||||
* We don't buffer the information about all memory contexts in a
|
||||
* backend into StringInfo and log it as one message. Otherwise which
|
||||
* may require the buffer to be enlarged very much and lead to OOM
|
||||
* error since there can be a large number of memory contexts in a
|
||||
* backend. Instead, we log one message per memory context.
|
||||
* backend into StringInfo and log it as one message. That would
|
||||
* require the buffer to be enlarged, risking an OOM as there could
|
||||
* be a large number of memory contexts in a backend. Instead, we
|
||||
* log one message per memory context.
|
||||
*/
|
||||
ereport(LOG_SERVER_ONLY,
|
||||
(errhidestmt(true),
|
||||
|
||||
@@ -1447,7 +1447,7 @@ ExecQueryAndProcessResults(const char *query,
|
||||
if (!AcceptResult(result, false))
|
||||
{
|
||||
/*
|
||||
* Some error occured, either a server-side failure or a failure
|
||||
* Some error occurred, either a server-side failure or a failure
|
||||
* to submit the command string. Record that.
|
||||
*/
|
||||
const char *error = PQresultErrorMessage(result);
|
||||
|
||||
@@ -122,7 +122,7 @@ SHOW test_pg_db_role_setting.user_param;
|
||||
bbb
|
||||
(1 row)
|
||||
|
||||
-- module is loaded, and placeholder values are succesfully set
|
||||
-- module is loaded, and placeholder values are successfully set
|
||||
SELECT load_test_pg_db_role_setting();
|
||||
load_test_pg_db_role_setting
|
||||
------------------------------
|
||||
|
||||
@@ -56,7 +56,7 @@ ALTER ROLE regress_regular_user SET test_pg_db_role_setting.superuser_param = 'c
|
||||
SHOW test_pg_db_role_setting.superuser_param;
|
||||
SHOW test_pg_db_role_setting.user_param;
|
||||
|
||||
-- module is loaded, and placeholder values are succesfully set
|
||||
-- module is loaded, and placeholder values are successfully set
|
||||
SELECT load_test_pg_db_role_setting();
|
||||
|
||||
SHOW test_pg_db_role_setting.superuser_param;
|
||||
|
||||
Reference in New Issue
Block a user