Merge pull request #127 from rnovikovP/patch-3

PG-256: DOC about Views presentation
pull/124/head^2
Ibrar Ahmed 2021-11-10 22:06:44 +05:00 committed by GitHub
commit 28efbc90c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -301,6 +301,7 @@ There are 10 timebase buckets of the time **`pg_stat_monitor.pgsm_respose_time_s
#### Object Information.
**`relations`**: The list of tables involved in the query
Views will be added with * like VIEW_NAME*
##### Example 1: List all the table names involved in the query.
```sql
@ -342,7 +343,7 @@ Now when we query ``pg_stat_monitor``, it will show the view name and also all t
SELECT relations, query FROM pg_stat_monitor;
      relations      |                                                query                                                
---------------------+------------------------------------------------------------------------------------------------------
 {test_view,foo,bar} | select * from test_view
 {test_view*,foo,bar} | select * from test_view
 {foo,bar}           | select * from foo,bar
(2 rows)
```