morningman commented on code in PR #15570:
URL: https://github.com/apache/doris/pull/15570#discussion_r1061274596


##########
docs/en/docs/ecosystem/external-table/multi-catalog.md:
##########
@@ -392,6 +394,28 @@ CREATE CATALOG jdbc PROPERTIES (
 )
 ```
 
+**postgresql catalog example**
+
+```sql
+-- 1.2.0+ Version
+CREATE CATALOG pg_resource PROPERTIES (

Review Comment:
   ```suggestion
   CREATE RESOURCE pg_resource PROPERTIES (
   ```



##########
docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-CATALOG.md:
##########
@@ -142,6 +143,31 @@ CREATE CATALOG catalog_name PROPERTIES (
        );
        ```
 
+       **postgresql**
+
+       ```sql
+       -- 1.2.0+ Version
+       CREATE CATALOG pg_resource PROPERTIES (

Review Comment:
   ```suggestion
        CREATE RESOURCE pg_resource PROPERTIES (
   ```



##########
docs/en/docs/ecosystem/external-table/multi-catalog.md:
##########
@@ -392,6 +394,28 @@ CREATE CATALOG jdbc PROPERTIES (
 )
 ```
 
+**postgresql catalog example**
+
+```sql
+-- 1.2.0+ Version
+CREATE CATALOG pg_resource PROPERTIES (
+    "type"="jdbc",
+    "jdbc.user"="postgres",

Review Comment:
   the prefix `jdbc.` should be removed when creating resource.
   It is different from `create catalog`



##########
docs/zh-CN/docs/ecosystem/external-table/multi-catalog.md:
##########
@@ -464,6 +467,28 @@ CREATE CATALOG jdbc PROPERTIES (
 )
 ```
 
+**POSTGRESQL catalog示例**
+
+```sql
+-- 1.2.0+ 版本
+CREATE CATALOG pg_resource PROPERTIES (

Review Comment:
   ```suggestion
   CREATE RESOURCE pg_resource PROPERTIES (
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to