You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: REFERENCE.md
+25-25
Original file line number
Diff line number
Diff line change
@@ -1838,119 +1838,119 @@ The following parameters are available in the `postgresql::server::recovery` def
1838
1838
1839
1839
Data type: `Any`
1840
1840
1841
-
1841
+
The shell command to execute to retrieve an archived segment of the WAL file series.
1842
1842
1843
1843
Default value: `undef`
1844
1844
1845
1845
##### `archive_cleanup_command`
1846
1846
1847
1847
Data type: `Any`
1848
1848
1849
-
1849
+
This optional parameter specifies a shell command that will be executed at every restartpoint.
1850
1850
1851
1851
Default value: `undef`
1852
1852
1853
1853
##### `recovery_end_command`
1854
1854
1855
1855
Data type: `Any`
1856
1856
1857
-
1857
+
This parameter specifies a shell command that will be executed once only at the end of recovery.
1858
1858
1859
1859
Default value: `undef`
1860
1860
1861
1861
##### `recovery_target_name`
1862
1862
1863
1863
Data type: `Any`
1864
1864
1865
-
1865
+
This parameter specifies the named restore point (created with pg_create_restore_point()) to which recovery will proceed.
1866
1866
1867
1867
Default value: `undef`
1868
1868
1869
1869
##### `recovery_target_time`
1870
1870
1871
1871
Data type: `Any`
1872
1872
1873
-
1873
+
This parameter specifies the time stamp up to which recovery will proceed.
1874
1874
1875
1875
Default value: `undef`
1876
1876
1877
1877
##### `recovery_target_xid`
1878
1878
1879
1879
Data type: `Any`
1880
1880
1881
-
1881
+
This parameter specifies the transaction ID up to which recovery will proceed.
1882
1882
1883
1883
Default value: `undef`
1884
1884
1885
1885
##### `recovery_target_inclusive`
1886
1886
1887
1887
Data type: `Any`
1888
1888
1889
-
1889
+
Specifies whether to stop just after the specified recovery target (true), or just before the recovery target (false).
1890
1890
1891
1891
Default value: `undef`
1892
1892
1893
1893
##### `recovery_target`
1894
1894
1895
1895
Data type: `Any`
1896
1896
1897
-
1897
+
This parameter specifies that recovery should end as soon as a consistent state is reached, i.e. as early as possible.
1898
1898
1899
1899
Default value: `undef`
1900
1900
1901
1901
##### `recovery_target_timeline`
1902
1902
1903
1903
Data type: `Any`
1904
1904
1905
-
1905
+
Specifies recovering into a particular timeline.
1906
1906
1907
1907
Default value: `undef`
1908
1908
1909
1909
##### `pause_at_recovery_target`
1910
1910
1911
1911
Data type: `Any`
1912
1912
1913
-
1913
+
Specifies whether recovery should pause when the recovery target is reached.
1914
1914
1915
1915
Default value: `undef`
1916
1916
1917
1917
##### `standby_mode`
1918
1918
1919
1919
Data type: `Any`
1920
1920
1921
-
Can be specified with the string ('on'/'off'), or by using a Boolean value (true/false).
1921
+
Specifies whether to start the PostgreSQL server as a standby.
1922
1922
1923
1923
Default value: `undef`
1924
1924
1925
1925
##### `primary_conninfo`
1926
1926
1927
1927
Data type: `Any`
1928
1928
1929
-
1929
+
Specifies a connection string to be used for the standby server to connect with the primary.
1930
1930
1931
1931
Default value: `undef`
1932
1932
1933
1933
##### `primary_slot_name`
1934
1934
1935
1935
Data type: `Any`
1936
1936
1937
-
1937
+
Optionally specifies an existing replication slot to be used when connecting to the primary via streaming replication to control resource removal on the upstream node.
1938
1938
1939
1939
Default value: `undef`
1940
1940
1941
1941
##### `trigger_file`
1942
1942
1943
1943
Data type: `Any`
1944
1944
1945
-
1945
+
Specifies a trigger file whose presence ends recovery in the standby.
1946
1946
1947
1947
Default value: `undef`
1948
1948
1949
1949
##### `recovery_min_apply_delay`
1950
1950
1951
1951
Data type: `Any`
1952
1952
1953
-
1953
+
This parameter allows you to delay recovery by a fixed period of time, measured in milliseconds if no unit is specified.
1954
1954
1955
1955
Default value: `undef`
1956
1956
@@ -2266,79 +2266,79 @@ The following parameters are available in the `postgresql::validate_db_connectio
2266
2266
2267
2267
Data type: `Any`
2268
2268
2269
-
2269
+
Database host address
2270
2270
2271
2271
Default value: `undef`
2272
2272
2273
2273
##### `database_name`
2274
2274
2275
2275
Data type: `Any`
2276
2276
2277
-
2277
+
Specifies the name of the database you wish to test.
2278
2278
2279
2279
Default value: `undef`
2280
2280
2281
2281
##### `database_password`
2282
2282
2283
2283
Data type: `Any`
2284
2284
2285
-
2285
+
Specifies the password to connect with.
2286
2286
2287
2287
Default value: `undef`
2288
2288
2289
2289
##### `database_username`
2290
2290
2291
2291
Data type: `Any`
2292
2292
2293
-
2293
+
Specifies the username to connect with.
2294
2294
2295
2295
Default value: `undef`
2296
2296
2297
2297
##### `database_port`
2298
2298
2299
2299
Data type: `Any`
2300
2300
2301
-
2301
+
Defines the port to use when connecting.
2302
2302
2303
2303
Default value: `undef`
2304
2304
2305
2305
##### `connect_settings`
2306
2306
2307
2307
Data type: `Any`
2308
2308
2309
-
2309
+
Specifies a hash of environment variables used when connecting to a remote server.
2310
2310
2311
2311
Default value: `undef`
2312
2312
2313
2313
##### `run_as`
2314
2314
2315
2315
Data type: `Any`
2316
2316
2317
-
2317
+
Specifies the user to run the psql command as.
2318
2318
2319
2319
Default value: `undef`
2320
2320
2321
2321
##### `sleep`
2322
2322
2323
2323
Data type: `Any`
2324
2324
2325
-
2325
+
Sets the number of seconds to sleep for before trying again after a failure.
2326
2326
2327
2327
Default value: 2
2328
2328
2329
2329
##### `tries`
2330
2330
2331
2331
Data type: `Any`
2332
2332
2333
-
2333
+
Sets the number of attempts after failure before giving up and failing the resource.
2334
2334
2335
2335
Default value: 10
2336
2336
2337
2337
##### `create_db_first`
2338
2338
2339
2339
Data type: `Any`
2340
2340
2341
-
2341
+
Creates the database when obtaining a successful connection.
Copy file name to clipboardExpand all lines: manifests/server/recovery.pp
+15-15
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,21 @@
6
6
# A detailed description of all listed parameters can be found in the PostgreSQL documentation.
7
7
# Only the specified parameters are recognized in the template. The recovery.conf is only created if at least one parameter is set and manage_recovery_conf is set to true.
8
8
#
9
-
# @param restore_command
10
-
# @param archive_cleanup_command
11
-
# @param recovery_end_command
12
-
# @param recovery_target_name
13
-
# @param recovery_target_time
14
-
# @param recovery_target_xid
15
-
# @param recovery_target_inclusive
16
-
# @param recovery_target
17
-
# @param recovery_target_timeline
18
-
# @param pause_at_recovery_target
19
-
# @param standby_mode Can be specified with the string ('on'/'off'), or by using a Boolean value (true/false).
20
-
# @param primary_conninfo
21
-
# @param primary_slot_name
22
-
# @param trigger_file
23
-
# @param recovery_min_apply_delay
9
+
# @param restore_command The shell command to execute to retrieve an archived segment of the WAL file series.
10
+
# @param archive_cleanup_command This optional parameter specifies a shell command that will be executed at every restartpoint.
11
+
# @param recovery_end_command This parameter specifies a shell command that will be executed once only at the end of recovery.
12
+
# @param recovery_target_name This parameter specifies the named restore point (created with pg_create_restore_point()) to which recovery will proceed.
13
+
# @param recovery_target_time This parameter specifies the time stamp up to which recovery will proceed.
14
+
# @param recovery_target_xid This parameter specifies the transaction ID up to which recovery will proceed.
15
+
# @param recovery_target_inclusive Specifies whether to stop just after the specified recovery target (true), or just before the recovery target (false).
16
+
# @param recovery_target This parameter specifies that recovery should end as soon as a consistent state is reached, i.e. as early as possible.
17
+
# @param recovery_target_timeline Specifies recovering into a particular timeline.
18
+
# @param pause_at_recovery_target Specifies whether recovery should pause when the recovery target is reached.
19
+
# @param standby_mode Specifies whether to start the PostgreSQL server as a standby.
20
+
# @param primary_conninfo Specifies a connection string to be used for the standby server to connect with the primary.
21
+
# @param primary_slot_name Optionally specifies an existing replication slot to be used when connecting to the primary via streaming replication to control resource removal on the upstream node.
22
+
# @param trigger_file Specifies a trigger file whose presence ends recovery in the standby.
23
+
# @param recovery_min_apply_delay This parameter allows you to delay recovery by a fixed period of time, measured in milliseconds if no unit is specified.
24
24
# @param target Provides the target for the rule, and is generally an internal only property. Use with caution.
0 commit comments