Cmdlets for PostgreSQL

Build 25.0.9539

Database Parameter (Connect-PostgreSQL Cmdlet)

The name of the PostgreSQL database.

Syntax

Connect-PostgreSQL -Database string

Data Type

cstr

Default Value

""

Remarks

When connecting to the PostgreSQL server, it is strongly recommended to set this property, but if it is not set, use the user's default database.

To limit access to the database, you can set up permissions and controls by using roles, privileges, and authentication settings.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539