forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit07f386e
committed
Add access method names to \d[i|m|t]+ in psql
Listing a full set of relations with those psql meta-commands, without amatching pattern, has never showed the access method associated witheach relation. This commit adds the access method of tables, indexesand matviews, masking it for relation kinds where it does not apply.Note that when HIDE_TABLEAM is enabled, the information does not showup. This is available when connecting to a backend version of at least12, where table AMs have been introduced.Author: Georgios KokolatosReviewed-by: Vignesh C, Michael Paquier, Justin PryzbyDiscussion:https://postgr.es/m/svaS1VTOEscES9CLKVTeKItjJP1EEJuBhTsA0ESOdlnbXeQSgycYwVlliL5zt8Jwcfo4ATYDXtEqsExxjkSkkhCSTCL8fnRgaCAJdr0unUg=@protonmail.com1 parent0176753 commit07f386e
File tree
4 files changed
+108
-12
lines changed- doc/src/sgml/ref
- src
- bin/psql
- test/regress
- expected
- sql
4 files changed
+108
-12
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1183 | 1183 |
| |
1184 | 1184 |
| |
1185 | 1185 |
| |
1186 |
| - | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
1187 | 1189 |
| |
1188 | 1190 |
| |
1189 | 1191 |
| |
|
Lines changed: 17 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3678 | 3678 |
| |
3679 | 3679 |
| |
3680 | 3680 |
| |
3681 |
| - | |
| 3681 | + | |
3682 | 3682 |
| |
3683 | 3683 |
| |
3684 | 3684 |
| |
| |||
3751 | 3751 |
| |
3752 | 3752 |
| |
3753 | 3753 |
| |
| 3754 | + | |
| 3755 | + | |
| 3756 | + | |
| 3757 | + | |
| 3758 | + | |
| 3759 | + | |
| 3760 | + | |
| 3761 | + | |
| 3762 | + | |
| 3763 | + | |
3754 | 3764 |
| |
3755 | 3765 |
| |
3756 | 3766 |
| |
| |||
3772 | 3782 |
| |
3773 | 3783 |
| |
3774 | 3784 |
| |
| 3785 | + | |
| 3786 | + | |
| 3787 | + | |
| 3788 | + | |
| 3789 | + | |
| 3790 | + | |
3775 | 3791 |
| |
3776 | 3792 |
| |
3777 | 3793 |
| |
|
Lines changed: 67 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2795 | 2795 |
| |
2796 | 2796 |
| |
2797 | 2797 |
| |
2798 |
| - | |
2799 |
| - | |
| 2798 | + | |
| 2799 | + | |
| 2800 | + | |
| 2801 | + | |
| 2802 | + | |
| 2803 | + | |
2800 | 2804 |
| |
| 2805 | + | |
| 2806 | + | |
2801 | 2807 |
| |
2802 | 2808 |
| |
| 2809 | + | |
| 2810 | + | |
2803 | 2811 |
| |
2804 |
| - | |
| 2812 | + | |
2805 | 2813 |
| |
2806 | 2814 |
| |
2807 | 2815 |
| |
2808 | 2816 |
| |
2809 | 2817 |
| |
2810 | 2818 |
| |
2811 |
| - | |
| 2819 | + | |
2812 | 2820 |
| |
2813 | 2821 |
| |
2814 | 2822 |
| |
2815 | 2823 |
| |
2816 | 2824 |
| |
2817 | 2825 |
| |
2818 | 2826 |
| |
2819 |
| - | |
| 2827 | + | |
2820 | 2828 |
| |
2821 | 2829 |
| |
2822 | 2830 |
| |
2823 | 2831 |
| |
2824 | 2832 |
| |
2825 | 2833 |
| |
2826 | 2834 |
| |
2827 |
| - | |
| 2835 | + | |
2828 | 2836 |
| |
2829 | 2837 |
| |
2830 | 2838 |
| |
2831 | 2839 |
| |
2832 | 2840 |
| |
2833 | 2841 |
| |
| 2842 | + | |
| 2843 | + | |
| 2844 | + | |
| 2845 | + | |
| 2846 | + | |
| 2847 | + | |
| 2848 | + | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
2834 | 2876 |
| |
2835 |
| - | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
2836 | 2895 |
| |
| 2896 | + | |
2837 | 2897 |
| |
2838 | 2898 |
| |
2839 | 2899 |
| |
|
Lines changed: 21 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
455 | 455 |
| |
456 | 456 |
| |
457 | 457 |
| |
458 |
| - | |
| 458 | + | |
| 459 | + | |
459 | 460 |
| |
460 |
| - | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
461 | 465 |
| |
| 466 | + | |
| 467 | + | |
462 | 468 |
| |
463 | 469 |
| |
| 470 | + | |
| 471 | + | |
464 | 472 |
| |
465 | 473 |
| |
466 | 474 |
| |
467 | 475 |
| |
468 | 476 |
| |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
469 | 483 |
| |
470 |
| - | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
471 | 488 |
| |
| 489 | + | |
472 | 490 |
| |
473 | 491 |
| |
474 | 492 |
| |
|
0 commit comments
Comments
(0)