From 4458a62f6b0f6bc56b9b7b63a3c29f867a5fb39d Mon Sep 17 00:00:00 2001 From: "Chao Li (Evan)" Date: Sun, 11 Jan 2026 12:51:51 +0800 Subject: [PATCH v5 2/2] A few more comment improves in extension.c --- src/backend/commands/extension.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/commands/extension.c b/src/backend/commands/extension.c index 596105ee078..2f13a3cbd5c 100644 --- a/src/backend/commands/extension.c +++ b/src/backend/commands/extension.c @@ -1380,7 +1380,7 @@ execute_extension_script(Oid extensionOid, ExtensionControlFile *control, * Find or create an ExtensionVersionInfo for the specified version name * * Currently, we just use a List of the ExtensionVersionInfo's. Searching - * for them therefore uses about O(N^2) time when there are N versions of + * for them therefore uses O(N^2) time when there are N versions of * the extension. We could change the data structure to a hash table if * this ever becomes a bottleneck. */ @@ -2398,7 +2398,7 @@ pg_available_extension_versions(PG_FUNCTION_ARGS) /* * Ignore already-found names. They are not reachable by the - * path search, so don't shown them. + * path search, so don't show them. */ extname_str = makeString(extname); if (list_member(found_ext, extname_str)) @@ -3206,7 +3206,7 @@ AlterExtensionNamespace(const char *extensionName, const char *newschema, Oid *o objsMoved = new_object_addresses(); - /* store the OID of the namespace to-be-changed */ + /* store the OID of the namespace to be changed */ oldNspOid = extForm->extnamespace; /* @@ -3858,7 +3858,7 @@ ExecAlterExtensionContentsRecurse(AlterExtensionContentsStmt *stmt, } /* - * Read the whole of file into memory. + * Read the whole file into memory. * * The file contents are returned as a single palloc'd chunk. For convenience * of the callers, an extra \0 byte is added to the end. That is not counted -- 2.39.5 (Apple Git-154)