Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 47d51a5

Browse files
committedJul 18, 2018
Fix misc typos, mostly in comments.
A collection of typos I happened to spot while reading code, as well as grepping for common mistakes. Backpatch to all supported versions, as applicable, to avoid conflicts when backporting other commits in the future.
1 parent f8e8be7 commit 47d51a5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
 

‎contrib/pg_upgrade/tablespace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ init_tablespaces(void)
3636
* get_tablespace_paths()
3737
*
3838
* Scans pg_tablespace and returns a malloc'ed array of all tablespace
39-
* paths. Its the caller's responsibility to free the array.
39+
* paths. It's the caller's responsibility to free the array.
4040
*/
4141
static void
4242
get_tablespace_paths(void)

‎src/backend/commands/cluster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ finish_heap_swap(Oid OIDOldHeap, Oid OIDNewHeap,
15181518
* swap_relation_files()), thus relfrozenxid was not updated. That's
15191519
* annoying because a potential reason for doing a VACUUM FULL is a
15201520
* imminent or actual anti-wraparound shutdown. So, now that we can
1521-
* access the new relation using it's indices, update relfrozenxid.
1521+
* access the new relation using its indices, update relfrozenxid.
15221522
* pg_class doesn't have a toast relation, so we don't need to update the
15231523
* corresponding toast relation. Not that there's little point moving all
15241524
* relfrozenxid updates here since swap_relation_files() needs to write to

‎src/interfaces/ecpg/ecpglib/execute.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,8 +1304,8 @@ ecpg_build_params(struct statement * stmt)
13041304
if ((position = next_insert(stmt->command, position, stmt->questionmarks, std_strings) + 1) == 0)
13051305
{
13061306
/*
1307-
* We have an argument but we dont have the matched up placeholder
1308-
* in the string
1307+
* We have an argument but we don't have the matched up
1308+
* placeholder in the string
13091309
*/
13101310
ecpg_raise(stmt->lineno, ECPG_TOO_MANY_ARGUMENTS,
13111311
ECPG_SQLSTATE_USING_CLAUSE_DOES_NOT_MATCH_PARAMETERS,

‎src/pl/tcl/pltcl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2337,7 +2337,7 @@ pltcl_SPI_execute_plan(ClientData cdata, Tcl_Interp *interp,
23372337
}
23382338

23392339
/************************************************************
2340-
* If there was a argtype list on preparation, we need
2340+
* If there was an argtype list on preparation, we need
23412341
* an argument value list now
23422342
************************************************************/
23432343
if (qdesc->nargs > 0)

0 commit comments

Comments
 (0)
Failed to load comments.