From 54f8b6c28282d7d554021f007f729966a80047c0 Mon Sep 17 00:00:00 2001
From: "@luo_zihao5524" <1165977584@qq.com>
Date: Wed, 16 Sep 2020 15:29:45 +0800
Subject: [PATCH] Added the specifications about nodename in gs_initdb
---
content/en/docs/Toolreference/gs_initdb.md | 1 +
content/zh/docs/Toolreference/gs_initdb.md | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/content/en/docs/Toolreference/gs_initdb.md b/content/en/docs/Toolreference/gs_initdb.md
index 3f9cd468b..f484c12b8 100644
--- a/content/en/docs/Toolreference/gs_initdb.md
+++ b/content/en/docs/Toolreference/gs_initdb.md
@@ -138,6 +138,7 @@ During installation, you are advised to use the **-D** parameter to invoke **
Specifies the name of an initialized node.
|
The naming rules for nodes are as follows:
+- The value of nodename must consist of lowercase letters (a-z), underscores(_), special characters #, digits(0-9), and dollar signs($).
- The nodename must start with a lowercase letter(a-z) or an underscore(_).
- The nodename cannot be an empty string, and cannot exceed 64 characters.
|
-E, --encoding=ENCODING
diff --git a/content/zh/docs/Toolreference/gs_initdb.md b/content/zh/docs/Toolreference/gs_initdb.md
index 709a186d9..39188ad68 100644
--- a/content/zh/docs/Toolreference/gs_initdb.md
+++ b/content/zh/docs/Toolreference/gs_initdb.md
@@ -136,7 +136,7 @@ gs\_initdb支持的常用参数和不常用参数请分别参见[表 常用参
| 初始化的节点名称。
|
节点的命名需要遵守如下规范:
-- 节点名称必须为小写字母(a-z)、下划线(_)、ASCII码(\u200-\u377)、特殊符号#、数字(0-9)或美元符号($)。
- 节点名称必须以小写字母(a-z)、ASCII码(\u200-\u377)或下划线(_)开头。
+- 节点名称必须为小写字母(a-z)、下划线(_)、特殊符号#、数字(0-9)或美元符号($)。
- 节点名称必须以小写字母(a-z)或下划线(_)开头。
- 节点名称不能为空,且最大的长度为64个字符。
|
-E, --encoding=ENCODING
--
Gitee
|