diff options
author | John Naylor <john.naylor@postgresql.org> | 2022-08-04 16:41:29 +0700 |
---|---|---|
committer | John Naylor <john.naylor@postgresql.org> | 2022-08-04 16:41:29 +0700 |
commit | bcabbfc6a94bb1d59e380f1bcb7cd5da8338cd11 (patch) | |
tree | 50f30ec04d5c499da413d2096978242b7627b76a /src/backend/commands/dbcommands.c | |
parent | 9f08803828d7dc9691e773f5bec4eed21f5ff520 (diff) | |
download | postgresql-bcabbfc6a94bb1d59e380f1bcb7cd5da8338cd11.tar.gz postgresql-bcabbfc6a94bb1d59e380f1bcb7cd5da8338cd11.zip |
Fix formatting and comment typos
Justin Pryzby
Discussion: https://www.postgresql.org/message-id/20220801181136.GJ15006%40telsasoft.com
Diffstat (limited to 'src/backend/commands/dbcommands.c')
-rw-r--r-- | src/backend/commands/dbcommands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/dbcommands.c b/src/backend/commands/dbcommands.c index 7bc53f3a0bb..9f990a8d68f 100644 --- a/src/backend/commands/dbcommands.c +++ b/src/backend/commands/dbcommands.c @@ -188,7 +188,7 @@ CreateDatabaseUsingWalLog(Oid src_dboid, Oid dst_dboid, /* * If the relation is from the source db's default tablespace then we - * need to create it in the destinations db's default tablespace. + * need to create it in the destination db's default tablespace. * Otherwise, we need to create in the same tablespace as it is in the * source database. */ @@ -1351,8 +1351,8 @@ createdb(ParseState *pstate, const CreatedbStmt *stmt) /* * If we're going to be reading data for the to-be-created database into * shared_buffers, take a lock on it. Nobody should know that this - * database exists yet, but it's good to maintain the invariant that a - * lock an AccessExclusiveLock on the database is sufficient to drop all + * database exists yet, but it's good to maintain the invariant that an + * AccessExclusiveLock on the database is sufficient to drop all * of its buffers without worrying about more being read later. * * Note that we need to do this before entering the |