Handle MERGE operation in query tool explain introduced in PostgreSQL 15. #5872

This commit is contained in:
Aditya Toshniwal
2023-02-20 15:36:22 +05:30
committed by GitHub
parent e56a1f3e2d
commit 8967a510c9
3 changed files with 7 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ ExplainRow.propTypes = {
Plans: PropTypes.array,
level: PropTypes.array,
_serial: PropTypes.number,
parent_node: PropTypes.number,
parent_node: PropTypes.string,
exclusive: PropTypes.number,
exclusive_flag: PropTypes.string,
inclusive: PropTypes.number,

View File

@@ -92,7 +92,7 @@ function Multitext({currentXpos, currentYpos, label, maxWidth}) {
wordBreakIndex = Math.round((maxWidth / letterWidth)) - 1;
svgElem.remove();
let words = label.split(' '),
let words = label?.split(' ') ?? '',
widthSoFar = 0,
lines = [],
currLine = '',

View File

@@ -168,6 +168,11 @@ const ImageMapper = {
'image': 'ex_delete.svg',
'image_text': 'Delete',
};
case 'Merge':
return {
'image': 'ex_merge.svg',
'image_text': 'Merge',
};
}
},
'Named Tuplestore Scan': {