26 lines
491 B
Markdown
26 lines
491 B
Markdown
|
---
|
||
|
layout: "postgresql"
|
||
|
page_title: "PostgreSQL: postgresql_extension"
|
||
|
sidebar_current: "docs-postgresql-resource-postgresql_extension"
|
||
|
description: |-
|
||
|
Creates and manages an extension on a PostgreSQL server.
|
||
|
---
|
||
|
|
||
|
# postgresql\_role
|
||
|
|
||
|
The ``[pstgresql_extension]`` resource creates and manages an extension on a PostgreSQL
|
||
|
server.
|
||
|
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```
|
||
|
resource "postgresql_role" "my_extension" {
|
||
|
name = "pg_trgm"
|
||
|
}
|
||
|
|
||
|
```
|
||
|
|
||
|
## Argument Reference
|
||
|
|
||
|
* `name` - (Required) The name of the extension.
|