aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/like.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2019-06-08 10:12:26 -0700
committerNoah Misch <noah@leadboat.com>2019-06-08 10:12:26 -0700
commit31d250e049b4e3d51a635edaa2221c11815e40e7 (patch)
tree974dc2122d471fa09c16ad0658d3353cc8b644e6 /src/backend/utils/adt/like.c
parent92c4abc73693690ce9ff13ede160f0dcb0a2de7b (diff)
downloadpostgresql-31d250e049b4e3d51a635edaa2221c11815e40e7.tar.gz
postgresql-31d250e049b4e3d51a635edaa2221c11815e40e7.zip
Update stale comments, and fix comment typos.
Diffstat (limited to 'src/backend/utils/adt/like.c')
-rw-r--r--src/backend/utils/adt/like.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/utils/adt/like.c b/src/backend/utils/adt/like.c
index 69beaf2ab50..13d5cb083c3 100644
--- a/src/backend/utils/adt/like.c
+++ b/src/backend/utils/adt/like.c
@@ -211,7 +211,6 @@ Generic_Text_IC_like(text *str, text *pat, Oid collation)
if (pg_database_encoding_max_length() > 1 || (locale && locale->provider == COLLPROVIDER_ICU))
{
- /* lower's result is never packed, so OK to use old macros here */
pat = DatumGetTextPP(DirectFunctionCall1Coll(lower, collation,
PointerGetDatum(pat)));
p = VARDATA_ANY(pat);