Hi, hackers

When I reading the implementation of CreateFunction(), I found there is a typo
in comment of compute_return_type().

-- 
Regrads,
Japin Li

>From 3a1008c692a919d55a456a7fa34e07d9c93879dd Mon Sep 17 00:00:00 2001
From: Li Jianping <jianping...@ww-it.cn>
Date: Wed, 25 Dec 2024 14:39:15 +0800
Subject: [PATCH] Fix typo in comment of compute_return_type()

---
 src/backend/commands/functioncmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c
index 82dd659893..4bd030976d 100644
--- a/src/backend/commands/functioncmds.c
+++ b/src/backend/commands/functioncmds.c
@@ -74,7 +74,7 @@
 
 /*
  *	 Examine the RETURNS clause of the CREATE FUNCTION statement
- *	 and return information about it as *prorettype_p and *returnsSet.
+ *	 and return information about it as *prorettype_p and *returnsSet_p.
  *
  * This is more complex than the average typename lookup because we want to
  * allow a shell type to be used, or even created if the specified return type
-- 
2.43.0

Reply via email to