Commit ae2dc57
fix: include table_comment in PostgreSQL get_table_info_sql
Use obj_description() to retrieve table comments in PostgreSQL,
making table_status return 'table_comment' key like MySQL does.
This fixes HTML display in Jupyter notebooks which expects the
'comment' key to be present.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent bc245d3 commit ae2dc57
3 files changed
+15
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
| 154 | + | |
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
159 | | - | |
160 | | - | |
| 158 | + | |
| 159 | + | |
161 | 160 | | |
162 | 161 | | |
163 | 162 | | |
| |||
734 | 733 | | |
735 | 734 | | |
736 | 735 | | |
737 | | - | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
738 | 740 | | |
739 | | - | |
740 | | - | |
741 | | - | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
742 | 745 | | |
743 | 746 | | |
744 | 747 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
| 1029 | + | |
1034 | 1030 | | |
1035 | 1031 | | |
1036 | 1032 | | |
| |||
1039 | 1035 | | |
1040 | 1036 | | |
1041 | 1037 | | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
| 1038 | + | |
1045 | 1039 | | |
1046 | 1040 | | |
1047 | 1041 | | |
| |||
1058 | 1052 | | |
1059 | 1053 | | |
1060 | 1054 | | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
| 1055 | + | |
1064 | 1056 | | |
1065 | 1057 | | |
1066 | 1058 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
0 commit comments