---
sourceDocument: Brazil IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/it-operations-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Include port number in PostgreSQL instance names

# Include the port number in PostgreSQL instance names {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
You can make multiple PostgreSQL instances on the same host distinguishable by port number by creating the mid.discovery.postgresql.include_port_in_name
MID Server property. This property is supported for UNIX hosts only.

## Before you begin

Verify that you have at least version 1.35.1 of Discovery and Service Mapping Patterns.

Role required: mid_server, agent_admin, or agent_security_admin

## About this task

By default, Discovery assigns every PostgreSQL instance the display name instance@hostname, regardless of port, making multiple instances on the same host indistinguishable in list views. The
mid.discovery.postgresql.include_port_in_name
MID Server property controls this behavior. When created and set to true, Discovery uses the format instance-port-tcp_port@hostname instead (for example, postgres-port-5432@host). Existing CI records aren't affected.

## Procedure

1. Navigate to AllMID ServerProperties.
2. Select New.
3. On the form, fill in the fields.  
   {#enable-postgresql-port-in-name__table_fd1_1ys_3kc__entry__2}

   | Field | Description |
   |-|-|
   | Name | Enter <kbd class="ph userinput">mid.discovery.postgresql.include_port_in_name</kbd>. |
   | Value | Enter <kbd class="ph userinput">true</kbd>. |
   | MID server | MID Servers to use for the property. Leave this field empty to apply the property to all MID Servers. |
   [Table 1. MID Server Property New record fields]

   {#enable-postgresql-port-in-name__table_fd1_1ys_3kc}
4. Select Submit.

## What to do next

Run Discovery again to apply the change.
**Related reference**   

* [PostgreSQL discovery](https://www.servicenow.com/docs/GmfEi~zbhMsS0B0Oane9nQ "Discovery can find running instances of PostgreSQL on Windows and Linux systems.")

*[\>]: and then


