From 1f2652d442783f3a9d10a45c4fbdfa245522ea73 Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Thu, 12 Dec 2024 14:33:28 +0800 Subject: [PATCH] fix language name Signed-off-by: Richard Chien --- sql/system-catalogs/rw-catalog.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sql/system-catalogs/rw-catalog.mdx b/sql/system-catalogs/rw-catalog.mdx index d771189f..0e9420d9 100644 --- a/sql/system-catalogs/rw-catalog.mdx +++ b/sql/system-catalogs/rw-catalog.mdx @@ -11,7 +11,7 @@ After you connect to RisingWave vis `psql`, enter `\d` to display RisingWave cat The result looks like this: -```bash +```sql \d ------RESULTS List of relations @@ -25,10 +25,10 @@ The result looks like this: You can view the schemas of these catalogs: -```bash +```sql DESCRIBE rw_catalog.rw_ddl_progress; ------RESULTS -Name | Type + Name | Type ---------------+--------- ddl_id | bigint ddl_statement | varchar @@ -36,7 +36,7 @@ Name | Type (3 rows) ``` -```bash +```sql DESCRIBE rw_catalog.rw_meta_snapshot; ------RESULTS Name | Type @@ -52,7 +52,7 @@ DESCRIBE rw_catalog.rw_meta_snapshot; You can also retrieve the values of the catalogs. Please note that the schema (`rw_catalog`) is optional. -```bash +```sql SELECT name, owner, definition FROM rw_tables; ------RESULTS name | owner | definition @@ -63,7 +63,7 @@ SELECT name, owner, definition FROM rw_tables; You can use two time-related fields, `created_at` and `initiated_at`, to retrieve the times when an object is created and initialized. This can be useful when you want learn about when a source or materialized view is created or initialized. -```bash +```sql SELECT name, initialized_at, created_at FROM rw_sources; ------RESULT name | initialized_at | created_at