|
2 | 2 | # See LICENSE file for licensing details.
|
3 | 3 |
|
4 | 4 | options:
|
| 5 | + durability_synchronous_commit: |
| 6 | + description: | |
| 7 | + Sets the current transactions synchronization level. This charm allows only the |
| 8 | + “on”, “remote_apply” and “remote_write” values to avoid data loss if the primary |
| 9 | + crashes and there are replicas. |
| 10 | + type: string |
| 11 | + default: "on" |
| 12 | + instance_default_text_search_config: |
| 13 | + description: | |
| 14 | + Selects the text search configuration that is used by those variants of the text |
| 15 | + search functions that do not have an explicit argument specifying it. |
| 16 | + Allowed values start with “pg_catalog.” followed by a language name, like |
| 17 | + “pg_catalog.english”. |
| 18 | + type: string |
| 19 | + default: "pg_catalog.simple" |
| 20 | + instance_password_encryption: |
| 21 | + description: | |
| 22 | + Determines the algorithm to use to encrypt the password. |
| 23 | + Allowed values are: “md5” and “scram-sha-256”. |
| 24 | + type: string |
| 25 | + default: "scram-sha-256" |
| 26 | + logging_log_connections: |
| 27 | + description: | |
| 28 | + Logs each successful connection. |
| 29 | + type: boolean |
| 30 | + default: false |
| 31 | + logging_log_disconnections: |
| 32 | + description: | |
| 33 | + Logs end of a session, including duration. |
| 34 | + type: boolean |
| 35 | + default: false |
| 36 | + logging_log_lock_waits: |
| 37 | + description: | |
| 38 | + Logs long lock waits. |
| 39 | + type: boolean |
| 40 | + default: false |
| 41 | + logging_log_min_duration_statement: |
| 42 | + description: | |
| 43 | + Sets the minimum running time (milliseconds) above which statements will be logged. |
| 44 | + Allowed values are: from -1 to 2147483647 (-1 disables logging |
| 45 | + statement durations). |
| 46 | + type: int |
| 47 | + default: -1 |
| 48 | + memory_maintenance_work_mem: |
| 49 | + description: | |
| 50 | + Sets the maximum memory (KB) to be used for maintenance operations. |
| 51 | + Allowed values are: from 1024 to 2147483647. |
| 52 | + type: int |
| 53 | + default: 65536 |
| 54 | + memory_max_prepared_transactions: |
| 55 | + description: | |
| 56 | + Sets the maximum number of simultaneously prepared transactions. |
| 57 | + Allowed values are: from 0 to 262143. |
| 58 | + type: int |
| 59 | + default: 0 |
| 60 | + memory_shared_buffers: |
| 61 | + description: | |
| 62 | + Sets the number of shared memory buffers (8 kB) used by the server. This charm allows |
| 63 | + to set this value up to 40% of the available memory from the unit, as it is unlikely |
| 64 | + that an allocation of more than that will work better than a smaller amount. |
| 65 | + Allowed values are: from 16 to 1073741823. |
| 66 | + type: int |
| 67 | + memory_temp_buffers: |
| 68 | + description: | |
| 69 | + Sets the maximum number of temporary buffers (8 kB) used by each session. |
| 70 | + Allowed values are: from 100 to 1073741823. |
| 71 | + type: int |
| 72 | + default: 1024 |
| 73 | + memory_work_mem: |
| 74 | + description: | |
| 75 | + Sets the maximum memory (KB) to be used for query workspaces. |
| 76 | + Allowed values are: from 64 to 2147483647. |
| 77 | + type: int |
| 78 | + default: 4096 |
| 79 | + optimizer_constraint_exclusion: |
| 80 | + description: | |
| 81 | + Enables the planner to use constraints to optimize queries. |
| 82 | + Allowed values are: “on”, “off” and “partition”. |
| 83 | + type: string |
| 84 | + default: "partition" |
| 85 | + optimizer_default_statistics_target: |
| 86 | + description: | |
| 87 | + Sets the default statistics target. Allowed values are: from 1 to 10000. |
| 88 | + type: int |
| 89 | + default: 100 |
| 90 | + optimizer_from_collapse_limit: |
| 91 | + description: | |
| 92 | + Sets the FROM-list size beyond which subqueries are not collapsed. |
| 93 | + Allowed values are: from 1 to 2147483647. |
| 94 | + type: int |
| 95 | + default: 8 |
| 96 | + optimizer_join_collapse_limit: |
| 97 | + description: | |
| 98 | + Sets the FROM-list size beyond which JOIN constructs are not flattened. |
| 99 | + Allowed values are: from 1 to 2147483647. |
| 100 | + type: int |
| 101 | + default: 8 |
5 | 102 | plugin_citext_enable:
|
6 | 103 | default: false
|
7 | 104 | type: boolean
|
@@ -40,3 +137,84 @@ options:
|
40 | 137 | Amount of memory in Megabytes to limit PostgreSQL and associated process to.
|
41 | 138 | If unset, this will be decided according to the default memory limit in the selected profile.
|
42 | 139 | Only comes into effect when the `production` profile is selected.
|
| 140 | + request_date_style: |
| 141 | + description: | |
| 142 | + Sets the display format for date and time values. Allowed formats are explained |
| 143 | + in https://www.postgresql.org/docs/14/runtime-config-client.html#GUC-DATESTYLE. |
| 144 | + type: string |
| 145 | + default: "ISO, MDY" |
| 146 | + request_standard_conforming_strings: |
| 147 | + description: | |
| 148 | + Causes ... strings to treat backslashes literally. |
| 149 | + type: boolean |
| 150 | + default: true |
| 151 | + request_time_zone: |
| 152 | + description: | |
| 153 | + Sets the time zone for displaying and interpreting time stamps. |
| 154 | + Allowed values are the ones from IANA time zone data, a time zone abbreviation |
| 155 | + like PST and POSIX-style time zone specifications. |
| 156 | + type: string |
| 157 | + default: "UTC" |
| 158 | + response_bytea_output: |
| 159 | + description: | |
| 160 | + Sets the output format for bytes. |
| 161 | + Allowed values are: “escape” and “hex”. |
| 162 | + type: string |
| 163 | + default: "hex" |
| 164 | + response_lc_monetary: |
| 165 | + description: | |
| 166 | + Sets the locale for formatting monetary amounts. |
| 167 | + Allowed values are the locales available in the unit. |
| 168 | + type: string |
| 169 | + default: "C" |
| 170 | + response_lc_numeric: |
| 171 | + description: | |
| 172 | + Sets the locale for formatting numbers. |
| 173 | + Allowed values are the locales available in the unit. |
| 174 | + type: string |
| 175 | + default: "C" |
| 176 | + response_lc_time: |
| 177 | + description: | |
| 178 | + Sets the locale for formatting date and time values. |
| 179 | + Allowed values are the locales available in the unit. |
| 180 | + type: string |
| 181 | + default: "C" |
| 182 | + vacuum_autovacuum_analyze_scale_factor: |
| 183 | + description: | |
| 184 | + Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when |
| 185 | + deciding whether to trigger a VACUUM. The default, 0.1, means 10% of table size. |
| 186 | + Allowed values are: from 0 to 100. |
| 187 | + type: float |
| 188 | + default: 0.1 |
| 189 | + vacuum_autovacuum_analyze_threshold: |
| 190 | + description: | |
| 191 | + Sets the minimum number of inserted, updated or deleted tuples needed to trigger |
| 192 | + an ANALYZE in any one table. Allowed values are: from 0 to 2147483647. |
| 193 | + type: int |
| 194 | + default: 50 |
| 195 | + vacuum_autovacuum_freeze_max_age: |
| 196 | + description: | |
| 197 | + Maximum age (in transactions) before triggering autovacuum on a table to prevent |
| 198 | + transaction ID wraparound. Allowed values are: from 100000 to 2000000000. |
| 199 | + type: int |
| 200 | + default: 200000000 |
| 201 | + vacuum_autovacuum_vacuum_cost_delay: |
| 202 | + description: | |
| 203 | + Sets cost delay value (milliseconds) that will be used in automatic VACUUM operations. |
| 204 | + Allowed values are: from -1 to 100 (-1 tells PostgreSQL to use the regular |
| 205 | + vacuum_cost_delay value). |
| 206 | + type: float |
| 207 | + default: 2.0 |
| 208 | + vacuum_autovacuum_vacuum_scale_factor: |
| 209 | + description: | |
| 210 | + Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when |
| 211 | + deciding whether to trigger a VACUUM. The default, 0.2, means 20% of table size. |
| 212 | + Allowed values are: from 0 to 100. |
| 213 | + type: float |
| 214 | + default: 0.2 |
| 215 | + vacuum_vacuum_freeze_table_age: |
| 216 | + description: | |
| 217 | + Age (in transactions) at which VACUUM should scan whole table to freeze tuples. |
| 218 | + Allowed values are: from 0 to 2000000000. |
| 219 | + type: int |
| 220 | + default: 150000000 |
0 commit comments