From b7a9347c11e19918a34b127a096061bfb002fcb5 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 15 May 2016 17:04:01 -0400 Subject: [PATCH] Fix comment. Reference to getThreadLocalPQExpBuffer here seems inappropriate, since we aren't necessarily using that instantiation of getLocalPQExpBuffer. --- src/fe_utils/string_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fe_utils/string_utils.c b/src/fe_utils/string_utils.c index aeef12c3df..04943a99aa 100644 --- a/src/fe_utils/string_utils.c +++ b/src/fe_utils/string_utils.c @@ -143,8 +143,8 @@ fmtId(const char *rawid) * * Like fmtId, use the result before calling again. * - * Since we call fmtId and it also uses getThreadLocalPQExpBuffer() we cannot - * use it until we're finished with calling fmtId(). + * Since we call fmtId and it also uses getLocalPQExpBuffer() we cannot + * use that buffer until we're finished with calling fmtId(). */ const char * fmtQualifiedId(int remoteVersion, const char *schema, const char *id)