postgres.git / summary / log / commit / refs
commit 6b044cb810460993ad9e458a0ee8fcc9fde5a350
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Tue Feb 21 16:03:51 2012 +0000
First released in: 9.2.0
Fix typo, noticed by Will Crawford.
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 feda0e00357..d7db4cf0cf9 100644
--- a/src/backend/utils/adt/json.c
+++ b/src/backend/utils/adt/json.c
@@ -87,7 +87,7 @@ static void array_to_json_internal(Datum array, StringInfo result, bool use_line
/* fake type category for JSON so we can distinguish it in datum_to_json */
#define TYPCATEGORY_JSON 'j'
/* letters appearing in numeric output that aren't valid in a JSON number */
-#define NON_NUMERIC_LETTER "NnAnIiFfTtYy"
+#define NON_NUMERIC_LETTER "NnAaIiFfTtYy"
/*
* Input.
*/
[parent: 95ca2859f451]