mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Fix typos and grammar in code comments and docs
Author: Alexander Lakhin Discussion: https://postgr.es/m/f7e514cf-2446-21f1-a5d2-8c089a6e2168@gmail.com
This commit is contained in:
@@ -382,7 +382,7 @@ RefreshMatViewByOid(Oid matviewOid, bool is_create, bool skipData,
|
||||
* command tag is left false in cmdtaglist.h. Otherwise, the change of
|
||||
* completion tag output might break applications using it.
|
||||
*
|
||||
* When called from CREATE MATERIALIZED VIEW comand, the rowcount is
|
||||
* When called from CREATE MATERIALIZED VIEW command, the rowcount is
|
||||
* displayed with the command tag CMDTAG_SELECT.
|
||||
*/
|
||||
if (qc)
|
||||
|
||||
@@ -369,7 +369,7 @@ pg_wal_replay_wait(PG_FUNCTION_ARGS)
|
||||
*/
|
||||
InvalidateCatalogSnapshot();
|
||||
|
||||
/* Give up if there is still an active or registered sanpshot. */
|
||||
/* Give up if there is still an active or registered snapshot. */
|
||||
if (GetOldestSnapshot())
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||
|
||||
Reference in New Issue
Block a user