Readonly Parameter (Connect-PostgreSQL Cmdlet)
Toggles read-only access to PostgreSQL from the provider.
Syntax
Connect-PostgreSQL -Readonly SwitchParameter
Data Type
bool
Default Value
false
Remarks
When set to True, the cmdlet allows only SELECT queries. Attempting an INSERT, UPDATE, DELETE, or stored procedure query fails with an error message.