Query in SQL function still not schema-safe; add a couple
[PostgreSQL.git] / src / backend / access / transam / recovery.conf.sample
blob1ef80ac60fd687ee8fdc74148a702babc6b69fa8
1 # -------------------------------
2 # PostgreSQL recovery config file
3 # -------------------------------
5 # Edit this file to provide the parameters that PostgreSQL
6 # needs to perform an archive recovery of a database.
8 # If "recovery.conf" is present in the PostgreSQL data directory, it is
9 # read on postmaster startup.  After successful recovery, it is renamed
10 # to "recovery.done" to ensure that we do not accidentally re-enter
11 # archive recovery mode.
13 # This file consists of lines of the form:
15 #   name = 'value'
17 # (The quotes around the value are NOT optional, but the "=" is.)
19 # Comments are introduced with '#'.
21 # The complete list of option names and allowed values can be found
22 # in the PostgreSQL documentation. The commented-out settings shown below
23 # are example values.
25 #---------------------------------------------------------------------------
26 # REQUIRED PARAMETERS
27 #---------------------------------------------------------------------------
29 # restore_command
31 # specifies the shell command that is executed to copy log files
32 # back from archival storage.  The command string may contain %f,
33 # which is replaced by the name of the desired log file, and %p,
34 # which is replaced by the absolute path to copy the log file to.
36 # It is important that the command return nonzero exit status on failure.
37 # The command *will* be asked for log files that are not present in the
38 # archive; it must return nonzero when so asked.
40 # NOTE that the basename of %p will be different from %f; do not
41 # expect them to be interchangeable.
43 #restore_command = 'cp /mnt/server/archivedir/%f %p'
46 #---------------------------------------------------------------------------
47 # OPTIONAL PARAMETERS
48 #---------------------------------------------------------------------------
50 # recovery_end_command
52 # specifies an optional shell command to execute at completion of recovery.
53 # This can be useful for cleaning up after the restore_command.
55 #recovery_end_command = ''
58 # By default, recovery will rollforward to the end of the WAL log.
59 # If you want to stop rollforward before that point, you
60 # must set a recovery target.
62 # You may set a recovery target either by transactionId, or
63 # by timestamp. Recovery may either include or exclude the
64 # transaction(s) with the recovery target value (ie, stop either
65 # just after or just before the given target, respectively).
67 #recovery_target_time = '2004-07-14 22:39:00 EST'
69 #recovery_target_xid = '1100842'
71 #recovery_target_inclusive = 'true'             # 'true' or 'false'
74 # If you want to recover into a timeline other than the "main line" shown in
75 # pg_control, specify the timeline number here, or write 'latest' to get
76 # the latest branch for which there's a history file.
78 #recovery_target_timeline = '33'                # number or 'latest'
81 #---------------------------------------------------------------------------