mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Handle MERGE operation in query tool explain introduced in PostgreSQL 15. #5872
This commit is contained in:
@@ -122,7 +122,7 @@ ExplainRow.propTypes = {
|
|||||||
Plans: PropTypes.array,
|
Plans: PropTypes.array,
|
||||||
level: PropTypes.array,
|
level: PropTypes.array,
|
||||||
_serial: PropTypes.number,
|
_serial: PropTypes.number,
|
||||||
parent_node: PropTypes.number,
|
parent_node: PropTypes.string,
|
||||||
exclusive: PropTypes.number,
|
exclusive: PropTypes.number,
|
||||||
exclusive_flag: PropTypes.string,
|
exclusive_flag: PropTypes.string,
|
||||||
inclusive: PropTypes.number,
|
inclusive: PropTypes.number,
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ function Multitext({currentXpos, currentYpos, label, maxWidth}) {
|
|||||||
wordBreakIndex = Math.round((maxWidth / letterWidth)) - 1;
|
wordBreakIndex = Math.round((maxWidth / letterWidth)) - 1;
|
||||||
svgElem.remove();
|
svgElem.remove();
|
||||||
|
|
||||||
let words = label.split(' '),
|
let words = label?.split(' ') ?? '',
|
||||||
widthSoFar = 0,
|
widthSoFar = 0,
|
||||||
lines = [],
|
lines = [],
|
||||||
currLine = '',
|
currLine = '',
|
||||||
|
|||||||
@@ -168,6 +168,11 @@ const ImageMapper = {
|
|||||||
'image': 'ex_delete.svg',
|
'image': 'ex_delete.svg',
|
||||||
'image_text': 'Delete',
|
'image_text': 'Delete',
|
||||||
};
|
};
|
||||||
|
case 'Merge':
|
||||||
|
return {
|
||||||
|
'image': 'ex_merge.svg',
|
||||||
|
'image_text': 'Merge',
|
||||||
|
};
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'Named Tuplestore Scan': {
|
'Named Tuplestore Scan': {
|
||||||
|
|||||||
Reference in New Issue
Block a user