Skip to content

Commit bcabbfc

Browse files
committed
Fix formatting and comment typos
Justin Pryzby Discussion: https://www.postgresql.org/message-id/20220801181136.GJ15006%40telsasoft.com
1 parent 9f08803 commit bcabbfc

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/backend/commands/dbcommands.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ CreateDatabaseUsingWalLog(Oid src_dboid, Oid dst_dboid,
188188

189189
/*
190190
* If the relation is from the source db's default tablespace then we
191-
* need to create it in the destinations db's default tablespace.
191+
* need to create it in the destination db's default tablespace.
192192
* Otherwise, we need to create in the same tablespace as it is in the
193193
* source database.
194194
*/
@@ -1351,8 +1351,8 @@ createdb(ParseState *pstate, const CreatedbStmt *stmt)
13511351
/*
13521352
* If we're going to be reading data for the to-be-created database into
13531353
* shared_buffers, take a lock on it. Nobody should know that this
1354-
* database exists yet, but it's good to maintain the invariant that a
1355-
* lock an AccessExclusiveLock on the database is sufficient to drop all
1354+
* database exists yet, but it's good to maintain the invariant that an
1355+
* AccessExclusiveLock on the database is sufficient to drop all
13561356
* of its buffers without worrying about more being read later.
13571357
*
13581358
* Note that we need to do this before entering the

src/backend/commands/explain.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3284,7 +3284,6 @@ show_hashagg_info(AggState *aggstate, ExplainState *es)
32843284

32853285
if (es->format != EXPLAIN_FORMAT_TEXT)
32863286
{
3287-
32883287
if (es->costs)
32893288
ExplainPropertyInteger("Planned Partitions", NULL,
32903289
aggstate->hash_planned_partitions, es);

src/include/replication/reorderbuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ typedef struct ReorderBufferTXN
262262
* aborted. This can be a
263263
* * plain commit record
264264
* * plain commit record, of a parent transaction
265-
* * prepared tansaction
265+
* * prepared transaction
266266
* * prepared transaction commit
267267
* * plain abort record
268268
* * prepared transaction abort

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy