forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7d80441
committed
Allow psql's \dt and \di to show TOAST tables and their indexes.
Formerly, TOAST objects were unconditionally suppressed, but since\d is able to print them it's not very clear why these variantsshould not. Instead, use the same rules as for system catalogs:they can be seen if you write the 'S' modifier or a table namepattern. (In practice, since hardly anybody would keep pg_toastin their search_path, it's really down to whether you use a patternthat can match pg_toast.*.)No docs change seems necessary because the docs already say thatthis happens for "system objects"; we're just classifying TOASTtables as being that.Justin Pryzby, reviewed by Laurenz AlbeDiscussion:https://postgr.es/m/20201130165436.GX24052@telsasoft.com1 parentbf8a662 commit7d80441
File tree
3 files changed
+25
-18
lines changed- src
- bin/psql
- test/regress
- expected
- sql
3 files changed
+25
-18
lines changedLines changed: 9 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3718 | 3718 |
| |
3719 | 3719 |
| |
3720 | 3720 |
| |
| 3721 | + | |
3721 | 3722 |
| |
3722 | 3723 |
| |
3723 | 3724 |
| |
| |||
3731 | 3732 |
| |
3732 | 3733 |
| |
3733 | 3734 |
| |
| 3735 | + | |
3734 | 3736 |
| |
3735 | 3737 |
| |
3736 | 3738 |
| |
| |||
3813 | 3815 |
| |
3814 | 3816 |
| |
3815 | 3817 |
| |
| 3818 | + | |
3816 | 3819 |
| |
3817 | 3820 |
| |
| 3821 | + | |
| 3822 | + | |
| 3823 | + | |
| 3824 | + | |
3818 | 3825 |
| |
3819 | 3826 |
| |
3820 | 3827 |
| |
| |||
3834 | 3841 |
| |
3835 | 3842 |
| |
3836 | 3843 |
| |
| 3844 | + | |
3837 | 3845 |
| |
3838 | 3846 |
| |
3839 |
| - | |
3840 |
| - | |
3841 |
| - | |
3842 |
| - | |
3843 |
| - | |
3844 |
| - | |
3845 |
| - | |
3846 |
| - | |
3847 |
| - | |
3848 | 3847 |
| |
3849 | 3848 |
| |
3850 | 3849 |
| |
| |||
4057 | 4056 |
| |
4058 | 4057 |
| |
4059 | 4058 |
| |
| 4059 | + | |
4060 | 4060 |
| |
4061 | 4061 |
| |
4062 |
| - | |
4063 |
| - | |
4064 |
| - | |
4065 |
| - | |
4066 |
| - | |
4067 |
| - | |
4068 |
| - | |
4069 |
| - | |
4070 |
| - | |
4071 | 4062 |
| |
4072 | 4063 |
| |
4073 | 4064 |
| |
|
Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4895 | 4895 |
| |
4896 | 4896 |
| |
4897 | 4897 |
| |
| 4898 | + | |
| 4899 | + | |
| 4900 | + | |
| 4901 | + | |
| 4902 | + | |
| 4903 | + | |
| 4904 | + | |
| 4905 | + | |
| 4906 | + | |
| 4907 | + | |
| 4908 | + | |
| 4909 | + | |
| 4910 | + | |
| 4911 | + | |
4898 | 4912 |
| |
4899 | 4913 |
| |
4900 | 4914 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1210 | 1210 |
| |
1211 | 1211 |
| |
1212 | 1212 |
| |
| 1213 | + | |
| 1214 | + | |
1213 | 1215 |
| |
1214 | 1216 |
| |
1215 | 1217 |
| |
|
0 commit comments
Comments
(0)