summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMichael Paquier2019-06-17 07:13:16 +0000
committerMichael Paquier2019-06-17 07:13:16 +0000
commit3412030205211079f9b0510e2244083e4ee7b15a (patch)
tree89b607651122d058e79704cd15764db20b8a3025 /contrib
parent9d20b0ec8f2af43041b1a65e5fcd91acc47e9ace (diff)
Fix more typos and inconsistencies in the tree
Author: Alexander Lakhin Discussion: https://postgr.es/m/0a5419ea-1452-a4e6-72ff-545b1a5a8076@gmail.com
Diffstat (limited to 'contrib')
-rw-r--r--contrib/jsonb_plpython/jsonb_plpython.c2
-rw-r--r--contrib/pg_prewarm/autoprewarm.c6
-rw-r--r--contrib/pg_trgm/trgm_op.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/contrib/jsonb_plpython/jsonb_plpython.c b/contrib/jsonb_plpython/jsonb_plpython.c
index ea8fd5b3e68..776cf7c8b9b 100644
--- a/contrib/jsonb_plpython/jsonb_plpython.c
+++ b/contrib/jsonb_plpython/jsonb_plpython.c
@@ -133,7 +133,7 @@ PLyObject_FromJsonbValue(JsonbValue *jsonbValue)
}
/*
- * PLyObject_FromJsonb
+ * PLyObject_FromJsonbContainer
*
* Transform JsonbContainer to PyObject.
*/
diff --git a/contrib/pg_prewarm/autoprewarm.c b/contrib/pg_prewarm/autoprewarm.c
index 5378ff0141d..38ae240c551 100644
--- a/contrib/pg_prewarm/autoprewarm.c
+++ b/contrib/pg_prewarm/autoprewarm.c
@@ -356,7 +356,7 @@ apw_load_buffers(void)
Oid current_db = blkinfo[j].database;
/*
- * Advance the prewarm_stop_idx to the first BlockRecordInfo that does
+ * Advance the prewarm_stop_idx to the first BlockInfoRecord that does
* not belong to this database.
*/
j++;
@@ -365,7 +365,7 @@ apw_load_buffers(void)
if (current_db != blkinfo[j].database)
{
/*
- * Combine BlockRecordInfos for global objects with those of
+ * Combine BlockInfoRecords for global objects with those of
* the database.
*/
if (current_db != InvalidOid)
@@ -378,7 +378,7 @@ apw_load_buffers(void)
/*
* If we reach this point with current_db == InvalidOid, then only
- * BlockRecordInfos belonging to global objects exist. We can't
+ * BlockInfoRecords belonging to global objects exist. We can't
* prewarm without a database connection, so just bail out.
*/
if (current_db == InvalidOid)
diff --git a/contrib/pg_trgm/trgm_op.c b/contrib/pg_trgm/trgm_op.c
index 589dbb87ad5..0d4614e9c8a 100644
--- a/contrib/pg_trgm/trgm_op.c
+++ b/contrib/pg_trgm/trgm_op.c
@@ -500,7 +500,7 @@ iterate_word_similarity(int *trg2indexes,
word_similarity_threshold;
/*
- * Consider first trigram as initial lower bount for strict word
+ * Consider first trigram as initial lower bound for strict word
* similarity, or initialize it later with first trigram present for plain
* word similarity.
*/