ForceNew is required when changing the locale, ctype, and encoding.
This will cause someone some grief. TODO: Figure out how to prevent someone from blowing off their foot if they twiddle this after the fact.
This commit is contained in:
parent
547dcf27e1
commit
5b66bf0745
|
@ -38,18 +38,21 @@ func resourcePostgreSQLDatabase() *schema.Resource {
|
|||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
ForceNew: true,
|
||||
Description: "Character set encoding to use in the new database",
|
||||
},
|
||||
"lc_collate": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
ForceNew: true,
|
||||
Description: "Collation order (LC_COLLATE) to use in the new database",
|
||||
},
|
||||
"lc_ctype": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
ForceNew: true,
|
||||
Description: "Character classification (LC_CTYPE) to use in the new database",
|
||||
},
|
||||
"tablespace_name": {
|
||||
|
|
Loading…
Reference in New Issue