public inbox for [email protected]
help / color / mirror / Atom feedFrom: Japin Li <[email protected]>
To: PostgreSQL Hackers <[email protected]>
Subject: Correct the reference for plpgsql_yyparse()
Date: Mon, 30 Dec 2024 17:09:04 +0800
Message-ID: <ME0P300MB0445F7CA7456C2AC67D37A01B6092@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM> (raw)
Hi, hackers
When I read the PL/pgSQL source code, I found that plpgsql_yyparse() is defined
in pl_gram.y, however, the comment says it is defined in gram.y.
PFA.
--
Regrads,
Japin Li
Attachments:
[text/x-diff] 0001-Correct-the-reference-for-function-plpgsql_yyparse.patch (708B, ../ME0P300MB0445F7CA7456C2AC67D37A01B6092@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM/2-0001-Correct-the-reference-for-function-plpgsql_yyparse.patch)
download | inline diff:
From 9629535310eef217f195fc3526d8227b9f6ab29c Mon Sep 17 00:00:00 2001
From: Japin Li <[email protected]>
Date: Mon, 30 Dec 2024 16:59:52 +0800
Subject: [PATCH] Correct the reference for function plpgsql_yyparse()
---
src/pl/plpgsql/src/plpgsql.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pl/plpgsql/src/plpgsql.h b/src/pl/plpgsql/src/plpgsql.h
index 50c3b28472..ffa7129c03 100644
--- a/src/pl/plpgsql/src/plpgsql.h
+++ b/src/pl/plpgsql/src/plpgsql.h
@@ -1333,7 +1333,7 @@ extern void plpgsql_scanner_init(const char *str);
extern void plpgsql_scanner_finish(void);
/*
- * Externs in gram.y
+ * Externs in pl_gram.y
*/
extern int plpgsql_yyparse(void);
--
2.43.0
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Correct the reference for plpgsql_yyparse()
In-Reply-To: <ME0P300MB0445F7CA7456C2AC67D37A01B6092@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox