---
title: "addCloudPostgresqlDatabaseList"
slug: "cli-vpostgresql-addcloudpostgresqldatabaselist"
tags: ["Cloud DB for PostgreSQL"]
updated: 2026-05-21T09:02:06Z
published: 2026-05-21T09:11:35Z
canonical: "cli-gov.ncloud-docs.com/cli-vpostgresql-addcloudpostgresqldatabaselist"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://cli-gov.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# addCloudPostgresqlDatabaseList

<p class="platform-info type-vpc">VPC 환경에서 이용 가능합니다.</p>

Cloud DB for PostgreSQL Database를 추가합니다.

명령어 구문은 다음과 같습니다.

```
ncloud vpostgresql addCloudPostgresqlDatabaseList [regionCode] [cloudPostgresqlInstanceNo] [cloudPostgresqlDatabaseList] [output]
```

### 파라미터<a name="파라미터"></a>

파라미터에 대한 설명은 다음과 같습니다.

| 파라미터                          | 타입           | 필수 여부 | 설명                                                         | 제약 사항                                                    |
| ----------------------------------- | -------------- | --------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
| regionCode                          | String         | N         | 리전 코드<br>- regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해서 획득<br>- default: getRegionList 조회 결과의 첫 번째 리전을 선택 | -                                                            |
| cloudPostgresqlInstanceNo           | String         | Y         | Cloud DB for PostgreSQL 인스턴스 번호<br>- cloudPostgresqlInstanceNo는 [getCloudPostgresqlInstanceList](/docs/cli-vpostgresql-getcloudpostgresqlinstancelist) 액션을 통해서 획득 | -                                                            |
| cloudPostgresqlDatabaseList.N.name  | List\<String\> | Y         | 추가할 Cloud DB for PostgreSQL Database 이름<br>- Database 작업은 한 번에 최대 10개 가능 | - 영어 소문자, 숫자, 밑줄 문자( _ )만 허용하며 영어로 시작<br>- Min: 1<br>- Max: 30 |
| cloudPostgresqlDatabaseList.N.owner | List\<String\> | Y         | 추가할 Cloud DB for PostgreSQL Database의 Owner User ID      | - 영어 소문자, 숫자, 밑줄 문자( _ )만 허용하며 영어로 시작<br>- Min: 4<br>- Max: 16 |
| output                              | String         | N         | 응답 결과의 포맷 타입<br>- options: xml \| json<br>- default: json | - |

## 예시<a name="예시"></a>

호출과 응답 예시를 설명합니다.

### 호출 예시<a name="호출예시"></a>

호출 예시는 다음과 같습니다.

```
ncloud vpostgresql addCloudPostgresqlDatabaseList --regionCode KR --cloudPostgresqlInstanceNo ****890 --cloudPostgresqlDatabaseList "name='pgtest', owner='testuser'"
```

### 응답 예시<a name="응답예시"></a>

응답 예시는 다음과 같습니다.

응답 결과 포맷 타입(output)이 json일 때
```json
{
  "addCloudPostgresqlDatabaseListResponse": {
    "requestId": "e905ab5c-7ce7-49dc-ad45-cb281f11d38e",
    "returnCode": 0,
    "returnMessage": "success"
  }
}
```

응답 결과 포맷 타입(output)이 xml일 때
```xml
<addCloudPostgresqlDatabaseListResponse>
  <requestId>e905ab5c-7ce7-49dc-ad45-cb281f11d38e</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
</addCloudPostgresqlDatabaseListResponse>
```
