summaryrefslogtreecommitdiff
path: root/src/backend/utils
diff options
context:
space:
mode:
authorMichael Paquier2019-10-30 01:03:00 +0000
committerMichael Paquier2019-10-30 01:03:00 +0000
commit6ca86bb7e9c72f428c7f4e3f2b48dd6c4084429c (patch)
treee06d7478c2cc96f89e0f6f00452bea8e0177b93e /src/backend/utils
parent517bf2d9107f0d45c5fea2e3904e8d3b10ce6bb2 (diff)
Fix typos in the code
Author: Vignesh C Reviewed-by: Dilip Kumar, Michael Paquier Discussion: https://postgr.es/m/CALDaNm0ni+GAOe4+fbXiOxNrVudajMYmhJFtXGX-zBPoN8ixhw@mail.gmail.com
Diffstat (limited to 'src/backend/utils')
-rw-r--r--src/backend/utils/adt/jsonfuncs.c2
-rw-r--r--src/backend/utils/mmgr/freepage.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/jsonfuncs.c b/src/backend/utils/adt/jsonfuncs.c
index 3553a304b8c..1b0fb2afae6 100644
--- a/src/backend/utils/adt/jsonfuncs.c
+++ b/src/backend/utils/adt/jsonfuncs.c
@@ -205,7 +205,7 @@ struct ColumnIOData
Oid typid; /* column type id */
int32 typmod; /* column type modifier */
TypeCat typcat; /* column type category */
- ScalarIOData scalar_io; /* metadata cache for directi conversion
+ ScalarIOData scalar_io; /* metadata cache for direct conversion
* through input function */
union
{
diff --git a/src/backend/utils/mmgr/freepage.c b/src/backend/utils/mmgr/freepage.c
index faf5d10158b..311750e1cfd 100644
--- a/src/backend/utils/mmgr/freepage.c
+++ b/src/backend/utils/mmgr/freepage.c
@@ -1692,7 +1692,7 @@ FreePageManagerPutInternal(FreePageManager *fpm, Size first_page, Size npages,
/*
* The act of allocating pages to recycle may have invalidated the
- * results of our previous btree reserch, so repeat it. (We could
+ * results of our previous btree research, so repeat it. (We could
* recheck whether any of our split-avoidance strategies that were
* not viable before now are, but it hardly seems worthwhile, so
* we don't bother. Consolidation can't be possible now if it