Commit 2644034
Fix assertion failure when running \dit+.
The translate_columns array had 9 elements but the query returned 10 columns
when both tables and indexes were shown. Fixed by:
1. Expanding translate_columns array to 10 elements
2. Properly tracking cols_so_far when Storage column is added1 parent e51dd08 commit 2644034
File tree
3 files changed
+11
-1
lines changed- src
- bin/psql
- test/regress
- expected
- sql
3 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5091 | 5091 | | |
5092 | 5092 | | |
5093 | 5093 | | |
5094 | | - | |
| 5094 | + | |
5095 | 5095 | | |
5096 | 5096 | | |
5097 | 5097 | | |
| |||
5164 | 5164 | | |
5165 | 5165 | | |
5166 | 5166 | | |
| 5167 | + | |
| 5168 | + | |
5167 | 5169 | | |
5168 | 5170 | | |
5169 | 5171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2864 | 2864 | | |
2865 | 2865 | | |
2866 | 2866 | | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
2867 | 2874 | | |
2868 | 2875 | | |
2869 | 2876 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| 480 | + | |
480 | 481 | | |
481 | 482 | | |
482 | 483 | | |
| |||
0 commit comments