<h2>PostgresSQL DB Instance name is updating wrongly </h2><br/><div style="overflow-x:auto"><article><div ><h3 >Summary</h3><section><style type="text/css"><!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #7057C7; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } </style> <div class="ns-kb-css-body-editor-container"> <ul style="list-style-position: inside;"><li>PostgresSQL DB discovery is populating instance name as "PostgresSQL-port-5432@abc-host"</li><li>But the Expected instance name is "xyz@abc-host"</li></ul> </div></section></div><div ><h3 >Release</h3><section><style type="text/css"><!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #7057C7; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } </style> <div class="ns-kb-css-body-editor-container"> <ul style="list-style-position: inside;"><li>All</li></ul> </div></section></div><div ><h3 >Instructions</h3><section><style type="text/css"><!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #7057C7; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } </style> <div class="ns-kb-css-body-editor-container"> <ul style="list-style-position: inside;"><li>When Discovery is unable to retrieve the actual instance name, typically due to permission issues or restricted access to process-level or failed to run the commands</li><li>The pattern uses a fallback mechanism to ensure the Discovery process does not fail.</li><li>In such cases, Discovery constructs a unique identifier using the following format.<br /><br /> <ul style="list-style-position: inside;"><li>Eample format:<br />"PostgresSQL-port-" + port + "@" + hostname<br />For example:<br /><a href="mailto:PostgresSQL-port-5432@abc-host" target="_blank" rel="noopener noreferrer">PostgresSQL-port-5432@abc-host</a><br /><br /></li></ul> </li><li>This fallback logic is part of the out-of-box (OOB) behaviour and ensures the CI is still created or updated even when the actual instance name is unavailable.</li></ul> </div></section></div></article></div>