--- title: "getCloudPostgresqlDatabaseList" slug: "cli-vpostgresql-getcloudpostgresqldatabaselist" updated: 2026-09-17T10:08:42Z published: 2026-09-17T10:08:42Z canonical: "cli.ncloud-docs.com/cli-vpostgresql-getcloudpostgresqldatabaselist" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # getCloudPostgresqlDatabaseList Available in VPC Get the list of Cloud DB for PostgreSQL instance databases. ## Syntax The `getCloudPostgresqlDatabaseList` syntax is as follows: ``` ./ncloud vpostgresql getCloudPostgresqlDatabaseList \ --cloudPostgresqlInstanceNo \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `getCloudPostgresqlDatabaseList`. ### Required options The following options are required for `getCloudPostgresqlDatabaseList`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--cloudPostgresqlInstanceNo` | String | Required | Cloud DB for PostgreSQL instance number - See [getCloudPostgresqlInstanceList](/docs/en/cli-vpostgresql-getcloudpostgresqlinstancelist). | ### Common options For information about the options common to all `vpostgresql` subcommands, see [Cloud DB for PostgreSQL (VPC) options](/docs/en/cli-vpostgresql#%EC%98%B5%EC%85%98). ## Examples If the request to list Cloud DB for PostgreSQL databases is successful, the name and admin information of each database are returned. ### Command The command example is as follows: ``` ./ncloud vpostgresql getCloudPostgresqlDatabaseList \ --cloudPostgresqlInstanceNo 34567890 \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "getCloudPostgresqlDatabaseListResponse": { "totalRows": 3, "cloudPostgresqlDatabaseList": [ { "databaseName": "pgtest2", "owner": "testuser" }, { "databaseName": "pgtest", "owner": "testuser" }, { "databaseName": "testdb", "owner": "testuser" } ], "requestId": "b2c3d4e5-f6a7-8901-bcde-f23456789012", "returnCode": "0", "returnMessage": "success" } } ```