Skip to content

Commit b5a8b75

Browse files
committed
fix: TupleDesc arrays are not rendered
TupleDesc requires to writing it without 'Data' suffix and now I wonder how many types are also broken in this way, but it would be too difficult to find them all alone.
1 parent 9898807 commit b5a8b75

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/constants.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,9 +1671,8 @@ export function getArraySpecialMembers(): ArraySpecialMemberInfo[] {
16711671
*/
16721672

16731673
/* src/include/access/tupdesc.h */
1674-
_('TupleDescData', 'attrs', 'natts'),
1675-
1676-
_('TupleDescData', 'compact_attrs', 'natts'),
1674+
_('TupleDesc', 'attrs', 'natts'),
1675+
_('TupleDesc', 'compact_attrs', 'natts'),
16771676

16781677
/* src/include/access/xact.h */
16791678
_('xl_xact_assignment', 'xsub', 'nsubxacts'),

src/variables.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5904,10 +5904,6 @@ export class PgVariablesViewProvider implements vscode.TreeDataProvider<Variable
59045904
* even worse.
59055905
*/
59065906
specialMembers.addFlagsMembers(constants.getWellKnownFlagsMembers(pgversion));
5907-
5908-
if (12_00_00 <= pgversion) {
5909-
nodeVars.aliases.set('TupleDesc', 'TupleDescData *');
5910-
}
59115907
} else {
59125908
hashTables.addSimplehashTypes(constants.getWellKnownSimpleHashTableTypes());
59135909
}

0 commit comments

Comments
 (0)