Typo in json.c
Started by Daniel Gustafssonover 8 years ago2 messages
Spotted while reading code, patch attached.
cheers ./daniel
Attachments:
typo-json.patchapplication/octet-stream; name=typo-json.patchDownload
From a2b179b48439dfa7cfabecf9a07ea385417fc75a Mon Sep 17 00:00:00 2001
From: Daniel Gustafsson <daniel@yesql.se>
Date: Thu, 18 May 2017 09:11:56 +0200
Subject: [PATCH] Fix typo in pg_parse_json comment
---
src/backend/utils/adt/json.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/utils/adt/json.c b/src/backend/utils/adt/json.c
index 0c6572d03e..47371ab7cb 100644
--- a/src/backend/utils/adt/json.c
+++ b/src/backend/utils/adt/json.c
@@ -323,7 +323,7 @@ makeJsonLexContextCstringLen(char *json, int len, bool need_escapes)
* Publicly visible entry point for the JSON parser.
*
* lex is a lexing context, set up for the json to be processed by calling
- * makeJsonLexContext(). sem is a strucure of function pointers to semantic
+ * makeJsonLexContext(). sem is a structure of function pointers to semantic
* action routines to be called at appropriate spots during parsing, and a
* pointer to a state object to be passed to those routines.
*/
--
2.13.0.rc0.45.ge2cb6ab.dirty
Re: Typo in json.c
On 05/18/2017 10:17 AM, Daniel Gustafsson wrote:
Spotted while reading code, patch attached.
Applied, thanks.
- Heikki
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers